aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-02-01 05:38:25 -0500
committerDave Airlie <airlied@redhat.com>2012-02-03 04:55:05 -0500
commite9ad318128aa858f713d6f2c4623f7583ca53a71 (patch)
tree9cbdfe13ab3832423734a024cb9022adc6bfacc5
parent3a8148c514b45672f876c4d7c23ed1f54e7c48e7 (diff)
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>
-rw-r--r--drivers/gpu/drm/drm_fb_helper.c2
-rw-r--r--include/drm/drm_fb_helper.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 4fc38a7fc0ba..7b37874741f1 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,
421 fb_helper->crtc_info[i].mode_set.crtc = crtc; 421 fb_helper->crtc_info[i].mode_set.crtc = crtc;
422 i++; 422 i++;
423 } 423 }
424 fb_helper->conn_limit = max_conn_count; 424
425 return 0; 425 return 0;
426out_free: 426out_free:
427 drm_fb_helper_crtc_free(fb_helper); 427 drm_fb_helper_crtc_free(fb_helper);
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h
index 6e3076ad646e..55e10d62eab0 100644
--- a/include/drm/drm_fb_helper.h
+++ b/include/drm/drm_fb_helper.h
@@ -74,7 +74,6 @@ struct drm_fb_helper {
74 int connector_count; 74 int connector_count;
75 struct drm_fb_helper_connector **connector_info; 75 struct drm_fb_helper_connector **connector_info;
76 struct drm_fb_helper_funcs *funcs; 76 struct drm_fb_helper_funcs *funcs;
77 int conn_limit;
78 struct fb_info *fbdev; 77 struct fb_info *fbdev;
79 u32 pseudo_palette[17]; 78 u32 pseudo_palette[17];
80 struct list_head kernel_fb_list; 79 struct list_head kernel_fb_list;