summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-16 08:27:52 +0200
committerDave Airlie <airlied@redhat.com>2010-05-18 15:54:55 +1000
commit0bcad4c95eb4a017029ab82c2c9dee4198503aef (patch)
tree6c8e77b70b0493d7e80b0623dd0b4d4359135e30 /drivers/gpu/drm
parent68b61a7fd21be9df23577d48643ba9e364758200 (diff)
drm/edid: remove an unneeded variable
We don't use timing_level any more after: 9cf00977da0 "drm/edid: Unify detailed block parsing between base and extension blocks". Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/drm_edid.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 71886749fa2..3556308e771 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -1509,7 +1509,6 @@ static int add_detailed_info_eedid(struct drm_connector *connector,
char *edid_ext = NULL;
struct detailed_timing *timing;
int start_offset, end_offset;
- int timing_level;
if (edid->version == 1 && edid->revision < 3)
return 0;
@@ -1536,7 +1535,6 @@ static int add_detailed_info_eedid(struct drm_connector *connector,
return 0;
}
- timing_level = standard_timing_level(edid);
end_offset = EDID_LENGTH;
end_offset -= sizeof(struct detailed_timing);
for (i = start_offset; i < end_offset;