dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Michel Dänzer" <michel@daenzer.net>
To: Michael Witten <mfwitten@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 7/7] DRM: cleanup: Remove unsused `tmp'
Date: Thu, 22 Sep 2011 11:24:58 +0200	[thread overview]
Message-ID: <1316683498.20977.9.camel@thor.local> (raw)
In-Reply-To: <ac9cd316443b42bfb600b38fa2349139-mfwitten@gmail.com>

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@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
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2011-09-22  9:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-21 22:50 [PATCH 0/7] DRM/Radeon Cleanup Michael Witten
2011-09-21 22:49 ` [PATCH 1/7] DRM: comment: drm_crtc{=>_helper}_set_mode Michael Witten
2011-09-21 22:50 ` [PATCH 2/7] DRM: comment: halve -> half Michael Witten
2011-09-21 22:50 ` [PATCH 3/7] DRM: cleanup: Remove unused `gamma_size' Michael Witten
2011-09-21 22:50 ` [PATCH 4/7] DRM: comment: gdm_proc_lists -> drm_proc_lists Michael Witten
2011-09-21 22:50 ` [PATCH 6/7] DRM: bug: RADEON_DEBUGFS_MAX_{NUM_FILES => COMPONENTS} Michael Witten
2011-09-21 22:50 ` [PATCH 5/7] DRM: cleanup: `size == 0' is never true Michael Witten
2011-09-21 22:50 ` [PATCH 7/7] DRM: cleanup: Remove unsused `tmp' Michael Witten
2011-09-22  9:24   ` Michel Dänzer [this message]
2011-09-22 17:16     ` Michael Witten
2015-04-14 13:44   ` [PATCH] trivial: Remove unused variable `tmp' from `radeon_combios_get_lvds_info()' Michael Witten
2015-04-14 15:54     ` Michael Witten
2011-09-26 20:47 ` [PATCH 0/7] DRM/Radeon Cleanup Michael Witten
2011-10-07 19:20   ` [PATCH] DRM: bug: RADEON_DEBUGFS_MAX_{NUM_FILES => COMPONENTS} Michael Witten
2011-10-24 23:21     ` Michael Witten
2011-10-25  1:35       ` Ilija Hadzic
2011-10-26 15:07         ` Michael Witten

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1316683498.20977.9.camel@thor.local \
    --to=michel@daenzer.net \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=mfwitten@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox