summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_edid.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-03-29 21:43:20 +0000
committerDave Airlie <airlied@redhat.com>2010-04-06 10:40:18 +1000
commit2b470ab075b30aaeeab29d67b8f1f111096a5fbe (patch)
treee0ee462d6f544b1b31951384a3a6c604b10c9043 /drivers/gpu/drm/drm_edid.c
parentfbcc06b6439024b967cf6927b95d303f4c3c1a4f (diff)
downloadlwn-2b470ab075b30aaeeab29d67b8f1f111096a5fbe.tar.gz
lwn-2b470ab075b30aaeeab29d67b8f1f111096a5fbe.zip
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.c4
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
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) {