diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-07-01 13:42:45 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-17 08:50:33 +0200 |
commit | 546aee51ecacf6605b15f6a2580926f956dc5a3e (patch) | |
tree | 6eb1c95778c7449e586e193376a4fb8497a8c9f5 /drivers/gpu/drm/mgag200/mgag200_fb.c | |
parent | drm/atomic: Only update crtc->x/y if it's part of the state, v2. (diff) | |
download | linux-546aee51ecacf6605b15f6a2580926f956dc5a3e.tar.xz linux-546aee51ecacf6605b15f6a2580926f956dc5a3e.zip |
drm/mgag200: remove unused variables
These variables were assigned some values but they were never used.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/mgag200/mgag200_fb.c')
-rw-r--r-- | drivers/gpu/drm/mgag200/mgag200_fb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_fb.c b/drivers/gpu/drm/mgag200/mgag200_fb.c index c36b8304042b..958cf3cf082d 100644 --- a/drivers/gpu/drm/mgag200/mgag200_fb.c +++ b/drivers/gpu/drm/mgag200/mgag200_fb.c @@ -167,7 +167,6 @@ static int mgag200fb_create(struct drm_fb_helper *helper, struct drm_framebuffer *fb; struct drm_gem_object *gobj = NULL; struct device *device = &dev->pdev->dev; - struct mgag200_bo *bo; int ret; void *sysram; int size; @@ -185,7 +184,6 @@ static int mgag200fb_create(struct drm_fb_helper *helper, DRM_ERROR("failed to create fbcon backing object %d\n", ret); return ret; } - bo = gem_to_mga_bo(gobj); sysram = vmalloc(size); if (!sysram) |