提交 4f988d13 编写于 作者: S Sascha Hauer 提交者: Dave Airlie

drm fb helper: remove unused variable crtc_id

crtc_id is set but never used, so remove it from struct
drm_fb_helper_crtc.
Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 e9ad3181
...@@ -417,7 +417,6 @@ int drm_fb_helper_init(struct drm_device *dev, ...@@ -417,7 +417,6 @@ int drm_fb_helper_init(struct drm_device *dev,
i = 0; i = 0;
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
fb_helper->crtc_info[i].crtc_id = crtc->base.id;
fb_helper->crtc_info[i].mode_set.crtc = crtc; fb_helper->crtc_info[i].mode_set.crtc = crtc;
i++; i++;
} }
......
...@@ -35,7 +35,6 @@ struct drm_fb_helper; ...@@ -35,7 +35,6 @@ struct drm_fb_helper;
#include <linux/kgdb.h> #include <linux/kgdb.h>
struct drm_fb_helper_crtc { struct drm_fb_helper_crtc {
uint32_t crtc_id;
struct drm_mode_set mode_set; struct drm_mode_set mode_set;
struct drm_display_mode *desired_mode; struct drm_display_mode *desired_mode;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册