summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_fb_helper.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-02-01 14:38:26 +0400
committerDave Airlie <airlied@redhat.com>2012-02-03 13:55:52 +0400
commit4f988d132d2668b4f3b42bfc70daa531115ccca1 (patch)
tree2995c057a92f11cc0a605987e7801c1ccfe0dedf /drivers/gpu/drm/drm_fb_helper.c
parente9ad318128aa858f713d6f2c4623f7583ca53a71 (diff)
downloadlinux-4f988d132d2668b4f3b42bfc70daa531115ccca1.tar.xz
drm fb helper: remove unused variable crtc_id
crtc_id is set but never used, so remove it from struct drm_fb_helper_crtc. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> 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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 7b37874741f1..7740dd26f007 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -417,7 +417,6 @@ int drm_fb_helper_init(struct drm_device *dev,
i = 0;
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
- fb_helper->crtc_info[i].crtc_id = crtc->base.id;
fb_helper->crtc_info[i].mode_set.crtc = crtc;
i++;
}