提交 2b470ab0 编写于 作者: A Adam Jackson 提交者: Dave Airlie

drm/edid: Remove a redundant check

Signed-off-by: NAdam Jackson <ajax@redhat.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 fbcc06b6
...@@ -1016,10 +1016,6 @@ static int add_standard_modes(struct drm_connector *connector, struct edid *edid ...@@ -1016,10 +1016,6 @@ static int add_standard_modes(struct drm_connector *connector, struct edid *edid
struct std_timing *t = &edid->standard_timings[i]; struct std_timing *t = &edid->standard_timings[i];
struct drm_display_mode *newmode; struct drm_display_mode *newmode;
/* If std timings bytes are 1, 1 it's empty */
if (t->hsize == 1 && t->vfreq_aspect == 1)
continue;
newmode = drm_mode_std(dev, &edid->standard_timings[i], newmode = drm_mode_std(dev, &edid->standard_timings[i],
edid->revision, timing_level); edid->revision, timing_level);
if (newmode) { if (newmode) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册