[PATCH 7/7] DRM: cleanup: Remove unsused `tmp'
Michel Dänzer
michel at daenzer.net
Thu Sep 22 02:24:58 PDT 2011
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?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the dri-devel
mailing list