drm/edid: Remove a redundant check
authorAdam Jackson <ajax@redhat.com>
Mon, 29 Mar 2010 21:43:20 +0000 (21:43 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Apr 2010 00:40:18 +0000 (10:40 +1000)
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c

index 30095d912d63528bf7743bffe841adfc4e96965c..9c4717ff5f71e1613c13494d0a6cfa6010da5b3a 100644 (file)
@@ -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 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],
                                       edid->revision, timing_level);
                if (newmode) {