Skip to content

Commit

Permalink
drm/edid: Remove a redundant check
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Adam Jackson authored and Dave Airlie committed Apr 6, 2010
1 parent fbcc06b commit 2b470ab
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2b470ab

Please sign in to comment.