diff options
author | Adam Jackson <ajax@redhat.com> | 2010-03-29 17:43:20 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-05 20:40:18 -0400 |
commit | 2b470ab075b30aaeeab29d67b8f1f111096a5fbe (patch) | |
tree | e0ee462d6f544b1b31951384a3a6c604b10c9043 /drivers/gpu/drm/drm_edid.c | |
parent | fbcc06b6439024b967cf6927b95d303f4c3c1a4f (diff) |
drm/edid: Remove a redundant check
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 30095d912d63..9c4717ff5f71 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c | |||
@@ -1016,10 +1016,6 @@ static int add_standard_modes(struct drm_connector *connector, struct edid *edid | |||
1016 | struct std_timing *t = &edid->standard_timings[i]; | 1016 | struct std_timing *t = &edid->standard_timings[i]; |
1017 | struct drm_display_mode *newmode; | 1017 | struct drm_display_mode *newmode; |
1018 | 1018 | ||
1019 | /* If std timings bytes are 1, 1 it's empty */ | ||
1020 | if (t->hsize == 1 && t->vfreq_aspect == 1) | ||
1021 | continue; | ||
1022 | |||
1023 | newmode = drm_mode_std(dev, &edid->standard_timings[i], | 1019 | newmode = drm_mode_std(dev, &edid->standard_timings[i], |
1024 | edid->revision, timing_level); | 1020 | edid->revision, timing_level); |
1025 | if (newmode) { | 1021 | if (newmode) { |