[PATCH] cirrusfb: remove unused variables

From: Stephen Rothwell
Date: Wed Nov 19 2008 - 01:17:29 EST


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@xxxxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/