diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-08-14 15:07:18 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-19 09:34:47 +1000 |
commit | e552df37ad589f75af969d536ee9c70c94cacccf (patch) | |
tree | 175bb97c30e4c9811d565fa93c596c86ccc045c1 /drivers/gpu/drm/radeon/radeon_prime.c | |
parent | f547b22aaf4f429089b3d5a987b94a2bd8c92eb1 (diff) | |
download | lwn-e552df37ad589f75af969d536ee9c70c94cacccf.tar.gz lwn-e552df37ad589f75af969d536ee9c70c94cacccf.zip |
drm/radeon: remove stale gem->driver_private access
This field is never read. No need to set it in radeon. Besides, DRM gem
core clears it during setup, anyway.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_prime.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_prime.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_prime.c b/drivers/gpu/drm/radeon/radeon_prime.c index 65b9eabd5a2f..20074560fc25 100644 --- a/drivers/gpu/drm/radeon/radeon_prime.c +++ b/drivers/gpu/drm/radeon/radeon_prime.c @@ -68,7 +68,6 @@ struct drm_gem_object *radeon_gem_prime_import_sg_table(struct drm_device *dev, RADEON_GEM_DOMAIN_GTT, sg, &bo); if (ret) return ERR_PTR(ret); - bo->gem_base.driver_private = bo; mutex_lock(&rdev->gem.mutex); list_add_tail(&bo->list, &rdev->gem.objects); |