drm/edid: remove an unneeded variable
authorDan Carpenter <error27@gmail.com>
Sun, 16 May 2010 06:27:52 +0000 (08:27 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 05:54:55 +0000 (15:54 +1000)
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>
drivers/gpu/drm/drm_edid.c

index 71886749fa2c10a31b548edad347ea3a468c4446..3556308e771a27d0599ad30503cf4eb1422732b5 100644 (file)
@@ -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;