drm fb helper: remove unused variable conn_limit
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 1 Feb 2012 10:38:25 +0000 (11:38 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 3 Feb 2012 09:55:05 +0000 (09:55 +0000)
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>
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_fb_helper.h

index 4fc38a7fc0bac761e80b24fed800404d413f7a2f..7b37874741f111897c68e3b4dade09ce1181dc1e 100644 (file)
@@ -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);
index 6e3076ad646e99debaecdc315affe494b52f2f28..55e10d62eab051d7d74b07e56f67590b77d1330b 100644 (file)
@@ -74,7 +74,6 @@ struct drm_fb_helper {
        int connector_count;
        struct drm_fb_helper_connector **connector_info;
        struct drm_fb_helper_funcs *funcs;
-       int conn_limit;
        struct fb_info *fbdev;
        u32 pseudo_palette[17];
        struct list_head kernel_fb_list;