diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-08-14 09:07:16 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-18 19:34:38 -0400 |
commit | 23a9a2e075fa4a8a46575977ed2cc531424a6d2c (patch) | |
tree | ad0e795abb1cb91baf066c0e1c40fe508509c67d /drivers/gpu/drm/cirrus | |
parent | 7d2e968e2bea38b38f24e65892411a9095711f77 (diff) |
drm/cirrus: remove unused driver_private access
gem_bo->driver_private is never read by cirrus nor DRM core. No need to
set it. Besides, drm core clears it during setup, anyway.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/cirrus')
-rw-r--r-- | drivers/gpu/drm/cirrus/cirrus_ttm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/cirrus/cirrus_ttm.c b/drivers/gpu/drm/cirrus/cirrus_ttm.c index 0047012045c2..bf8a50669489 100644 --- a/drivers/gpu/drm/cirrus/cirrus_ttm.c +++ b/drivers/gpu/drm/cirrus/cirrus_ttm.c | |||
@@ -326,7 +326,6 @@ int cirrus_bo_create(struct drm_device *dev, int size, int align, | |||
326 | return ret; | 326 | return ret; |
327 | } | 327 | } |
328 | 328 | ||
329 | cirrusbo->gem.driver_private = NULL; | ||
330 | cirrusbo->bo.bdev = &cirrus->ttm.bdev; | 329 | cirrusbo->bo.bdev = &cirrus->ttm.bdev; |
331 | 330 | ||
332 | cirrus_ttm_placement(cirrusbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM); | 331 | cirrus_ttm_placement(cirrusbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM); |