Commit e9ad3181 authored by Sascha Hauer's avatar Sascha Hauer Committed by Dave Airlie

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: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 3a8148c5
...@@ -421,7 +421,7 @@ int drm_fb_helper_init(struct drm_device *dev, ...@@ -421,7 +421,7 @@ int drm_fb_helper_init(struct drm_device *dev,
fb_helper->crtc_info[i].mode_set.crtc = crtc; fb_helper->crtc_info[i].mode_set.crtc = crtc;
i++; i++;
} }
fb_helper->conn_limit = max_conn_count;
return 0; return 0;
out_free: out_free:
drm_fb_helper_crtc_free(fb_helper); drm_fb_helper_crtc_free(fb_helper);
......
...@@ -74,7 +74,6 @@ struct drm_fb_helper { ...@@ -74,7 +74,6 @@ struct drm_fb_helper {
int connector_count; int connector_count;
struct drm_fb_helper_connector **connector_info; struct drm_fb_helper_connector **connector_info;
struct drm_fb_helper_funcs *funcs; struct drm_fb_helper_funcs *funcs;
int conn_limit;
struct fb_info *fbdev; struct fb_info *fbdev;
u32 pseudo_palette[17]; u32 pseudo_palette[17];
struct list_head kernel_fb_list; struct list_head kernel_fb_list;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment