[PATCH 7/7] DRM: cleanup: Remove unsused `tmp'

Michael Witten mfwitten at gmail.com
Thu Sep 22 10:16:49 PDT 2011


2011/9/22 Michel Dänzer <michel at daenzer.net>:
> On Mit, 2011-09-21 at 22:50 +0000, Michael Witten wrote:
>> Date: Wed, 21 Sep 2011 02:10:43 +0000
>>
>> Signed-off-by: Michael Witten <mfwitten at gmail.com>
>> ---
>>  drivers/gpu/drm/radeon/radeon_combios.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c
>> index 6367524..b0549aa 100644
>> --- a/drivers/gpu/drm/radeon/radeon_combios.c
>> +++ b/drivers/gpu/drm/radeon/radeon_combios.c
>> @@ -1227,7 +1227,7 @@ struct radeon_encoder_lvds *radeon_combios_get_lvds_info(struct radeon_encoder
>>       uint16_t lcd_info;
>>       uint32_t panel_setup;
>>       char stmp[30];
>> -     int tmp, i;
>> +     int i;
>>       struct radeon_encoder_lvds *lvds = NULL;
>>
>>       lcd_info = combios_get_table_offset(dev, COMBIOS_LCD_INFO_TABLE);
>
> It's not unused here. Maybe it is for you because you disabled reading
> some values from the VBIOS?

Woops! :-P

You are correct.


More information about the dri-devel mailing list