summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-08-14 15:07:14 +0200
committerDave Airlie <airlied@redhat.com>2013-08-19 01:34:30 +0200
commit7e0e6cbd0361dfeb2507fe0f3a8dd16e78ffeeb9 (patch)
tree15655109ea42ff2bdcce0a4854b15f002a3bc2cd
parentMerge remote-tracking branch 'pfdo/drm-rcar-for-v3.12' into drm-next (diff)
downloadlinux-7e0e6cbd0361dfeb2507fe0f3a8dd16e78ffeeb9.tar.xz
linux-7e0e6cbd0361dfeb2507fe0f3a8dd16e78ffeeb9.zip
drm/ast: remove unused driver_private access
gem_bo->driver_private is never read by ast 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>
-rw-r--r--drivers/gpu/drm/ast/ast_ttm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_ttm.c b/drivers/gpu/drm/ast/ast_ttm.c
index 98d670825a1a..cf1c833f73ca 100644
--- a/drivers/gpu/drm/ast/ast_ttm.c
+++ b/drivers/gpu/drm/ast/ast_ttm.c
@@ -321,7 +321,6 @@ int ast_bo_create(struct drm_device *dev, int size, int align,
return ret;
}
- astbo->gem.driver_private = NULL;
astbo->bo.bdev = &ast->ttm.bdev;
ast_ttm_placement(astbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM);