Skip to content

Commit

Permalink
drm/edid: remove an unneeded variable
Browse files Browse the repository at this point in the history
We don't use timing_level any more after: 9cf0097 "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>
  • Loading branch information
Dan Carpenter authored and Dave Airlie committed May 18, 2010
1 parent 68b61a7 commit 0bcad4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 0bcad4c

Please sign in to comment.