diff options
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 1 | ||||
-rw-r--r-- | include/drm/drm_fb_helper.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 7b37874741f1..7740dd26f007 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c | |||
@@ -417,7 +417,6 @@ int drm_fb_helper_init(struct drm_device *dev, | |||
417 | 417 | ||
418 | i = 0; | 418 | i = 0; |
419 | list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { | 419 | list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { |
420 | fb_helper->crtc_info[i].crtc_id = crtc->base.id; | ||
421 | fb_helper->crtc_info[i].mode_set.crtc = crtc; | 420 | fb_helper->crtc_info[i].mode_set.crtc = crtc; |
422 | i++; | 421 | i++; |
423 | } | 422 | } |
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index 55e10d62eab0..5120b01c2eeb 100644 --- a/include/drm/drm_fb_helper.h +++ b/include/drm/drm_fb_helper.h | |||
@@ -35,7 +35,6 @@ struct drm_fb_helper; | |||
35 | #include <linux/kgdb.h> | 35 | #include <linux/kgdb.h> |
36 | 36 | ||
37 | struct drm_fb_helper_crtc { | 37 | struct drm_fb_helper_crtc { |
38 | uint32_t crtc_id; | ||
39 | struct drm_mode_set mode_set; | 38 | struct drm_mode_set mode_set; |
40 | struct drm_display_mode *desired_mode; | 39 | struct drm_display_mode *desired_mode; |
41 | }; | 40 | }; |