diff options
author | Lespiau, Damien <damien.lespiau@intel.com> | 2013-09-28 16:24:03 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-10-01 15:28:58 +1000 |
commit | bd89bcb00b4af00ed59a3ad2d34950b664581d85 (patch) | |
tree | a3c2600d975cad358e65cf474d5d7461923890de /drivers/gpu/drm/drm_fb_helper.c | |
parent | 36dccc840accf8f38d0c2be00d35e98571a2964b (diff) | |
download | blackbird-op-linux-bd89bcb00b4af00ed59a3ad2d34950b664581d85.tar.gz blackbird-op-linux-bd89bcb00b4af00ed59a3ad2d34950b664581d85.zip |
drm: Remove unused variable in drm_fb_helper_pan_display()
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index f6f6cc7fc133..e69d26bde002 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -852,7 +852,6 @@ int drm_fb_helper_pan_display(struct fb_var_screeninfo *var, struct drm_fb_helper *fb_helper = info->par; struct drm_device *dev = fb_helper->dev; struct drm_mode_set *modeset; - struct drm_crtc *crtc; int ret = 0; int i; @@ -863,8 +862,6 @@ int drm_fb_helper_pan_display(struct fb_var_screeninfo *var, } for (i = 0; i < fb_helper->crtc_count; i++) { - crtc = fb_helper->crtc_info[i].mode_set.crtc; - modeset = &fb_helper->crtc_info[i].mode_set; modeset->x = var->xoffset; |