summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fb_helper.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-02-01 11:38:25 +0100
committerDave Airlie <airlied@redhat.com>2012-02-03 09:55:05 +0000
commite9ad318128aa858f713d6f2c4623f7583ca53a71 (patch)
tree9cbdfe13ab3832423734a024cb9022adc6bfacc5 /drivers/gpu/drm/drm_fb_helper.c
parent3a8148c514b45672f876c4d7c23ed1f54e7c48e7 (diff)
downloadop-kernel-dev-e9ad318128aa858f713d6f2c4623f7583ca53a71.zip
op-kernel-dev-e9ad318128aa858f713d6f2c4623f7583ca53a71.tar.gz
drm fb helper: remove unused variable conn_limit
conn_limit is set but never used. Remove it from struct drm_fb_helper. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 4fc38a7..7b37874 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -421,7 +421,7 @@ int drm_fb_helper_init(struct drm_device *dev,
fb_helper->crtc_info[i].mode_set.crtc = crtc;
i++;
}
- fb_helper->conn_limit = max_conn_count;
+
return 0;
out_free:
drm_fb_helper_crtc_free(fb_helper);
OpenPOWER on IntegriCloud