Commit 2b470ab0 authored by Adam Jackson's avatar Adam Jackson Committed by Dave Airlie

drm/edid: Remove a redundant check

Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment