Skip to content

Commit

Permalink
drm fb helper: remove unused variable conn_limit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sascha Hauer authored and Dave Airlie committed Feb 3, 2012
1 parent 3a8148c commit e9ad318
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_fb_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion include/drm/drm_fb_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9ad318

Please sign in to comment.