diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-08-14 15:07:15 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-19 09:34:35 +1000 |
commit | 7d2e968e2bea38b38f24e65892411a9095711f77 (patch) | |
tree | 43fe25e39cbaf0ff6a044aabb2c9914a7ddbe789 /drivers/gpu/drm/mgag200 | |
parent | 7e0e6cbd0361dfeb2507fe0f3a8dd16e78ffeeb9 (diff) |
drm/mgag200: remove unused driver_private access
gem_bo->driver_private is never read by mgag200 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/mgag200')
-rw-r--r-- | drivers/gpu/drm/mgag200/mgag200_ttm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_ttm.c b/drivers/gpu/drm/mgag200/mgag200_ttm.c index 3acb2b044c7b..6cf3fa0b35cc 100644 --- a/drivers/gpu/drm/mgag200/mgag200_ttm.c +++ b/drivers/gpu/drm/mgag200/mgag200_ttm.c @@ -321,7 +321,6 @@ int mgag200_bo_create(struct drm_device *dev, int size, int align, return ret; } - mgabo->gem.driver_private = NULL; mgabo->bo.bdev = &mdev->ttm.bdev; mgag200_ttm_placement(mgabo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM); |