[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20081119171708.0c0c4d23.sfr@canb.auug.org.au>
Date: Wed, 19 Nov 2008 17:17:08 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Krzysztof Helt <krzysztof.h1@...pl>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus <torvalds@...ux-foundation.org>
Subject: [PATCH] cirrusfb: remove unused variables
Silences:
drivers/video/cirrusfb.c: In function 'cirrusfb_setup':
drivers/video/cirrusfb.c:2466: warning: unused variable 'i'
drivers/video/cirrusfb.c:2465: warning: unused variable 's'
introduced by commit a1d35a7a50d01b445e29d87f479f8c055a414f7e "cirrusfb:
use modedb and add mode_option parameter" which removed the uses of
these variables.
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
drivers/video/cirrusfb.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
index 8a87602..a2aa6dd 100644
--- a/drivers/video/cirrusfb.c
+++ b/drivers/video/cirrusfb.c
@@ -2462,8 +2462,7 @@ static int __init cirrusfb_init(void)
#ifndef MODULE
static int __init cirrusfb_setup(char *options) {
- char *this_opt, s[32];
- int i;
+ char *this_opt;
DPRINTK("ENTER\n");
--
1.5.6.5
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists