Commit 0bcad4c9 authored by Dan Carpenter's avatar Dan Carpenter Committed by Dave Airlie

drm/edid: remove an unneeded variable

We don't use timing_level any more after: 9cf00977 "drm/edid: Unify
detailed block parsing between base and extension blocks".
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 68b61a7f
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment