]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/radeon: fix unused variables warning
authorDave Airlie <airlied@redhat.com>
Fri, 19 Jun 2009 00:22:21 +0000 (10:22 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 19 Jun 2009 00:22:21 +0000 (10:22 +1000)
just remove i variable left over from previous code.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_atombios.c

index 786632d3e3787d06e73ca958fccc6ff6edf93781..1f5a1a4909844c20d6ced2f9ba174ea5130eb278 100644 (file)
@@ -835,7 +835,6 @@ radeon_atombios_get_primary_dac_info(struct radeon_encoder *encoder)
        struct _COMPASSIONATE_DATA *dac_info;
        uint8_t frev, crev;
        uint8_t bg, dac;
-       int i;
        struct radeon_encoder_primary_dac *p_dac = NULL;
 
        atom_parse_data_header(mode_info->atom_context, index, NULL, &frev, &crev, &data_offset);
@@ -867,7 +866,6 @@ radeon_atombios_get_tv_dac_info(struct radeon_encoder *encoder)
        struct _COMPASSIONATE_DATA *dac_info;
        uint8_t frev, crev;
        uint8_t bg, dac;
-       int i;
        struct radeon_encoder_tv_dac *tv_dac = NULL;
 
        atom_parse_data_header(mode_info->atom_context, index, NULL, &frev, &crev, &data_offset);