From: Andre Haupt <andre@bitwigglers.org>
To: linux-kernel@vger.kernel.org
Cc: jsimmons@users.sourceforge.net, kernel-janitors@vger.kernel.org,
adaplas@gmail.com, Andre Haupt <andre@bitwigglers.org>
Subject: [PATCH 1/2] fbmon: remove unnecessary local variable
Date: Tue, 27 Nov 2007 16:51:39 +0100 [thread overview]
Message-ID: <1196178700387-git-send-email-andre@bitwigglers.org> (raw)
Message-ID: <94ed2e6692de667821f02aacc69b8df99de683cf.1196176751.git.andre@bitwigglers.org> (raw)
In-Reply-To: y
This fixes a sparse warning about symbol 'i' shadowing an earlier one.
From: Andre Haupt <andre@bitwigglers.org>
Signed-off-by: Andre Haupt <andre@bitwigglers.org>
---
drivers/video/fbmon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/fbmon.c b/drivers/video/fbmon.c
index 4ba9c08..3f3a4e9 100644
--- a/drivers/video/fbmon.c
+++ b/drivers/video/fbmon.c
@@ -686,7 +686,7 @@ static int fb_get_monitor_limits(unsigned char *edid, struct fb_monspecs *specs)
/* estimate monitor limits based on modes supported */
if (retval) {
struct fb_videomode *modes, *mode;
- int num_modes, i, hz, hscan, pixclock;
+ int num_modes, hz, hscan, pixclock;
int vtotal, htotal;
modes = fb_create_modedb(edid, &num_modes);
--
1.4.4.4
next prev reply other threads:[~2007-11-27 15:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-27 15:51 [PATCH 1/2] fbmon: remove unnecessary local variable Andre Haupt
2007-11-27 15:51 ` Andre Haupt [this message]
2007-11-27 15:51 ` [PATCH 2/2] fbmon: cleanup trailing whitespaces Andre Haupt
2007-11-27 15:51 ` Andre Haupt
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=1196178700387-git-send-email-andre@bitwigglers.org \
--to=andre@bitwigglers.org \
--cc=adaplas@gmail.com \
--cc=jsimmons@users.sourceforge.net \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.