summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlada Peric <vlada.peric@gmail.com>2008-11-19 15:36:45 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-19 18:49:59 -0800
commitee11940f8e7a2f064af22d52180cb5f9643eef61 (patch)
treededcaf3c6903e6b4185e4de503219fa3dcf0f64d
parent00d8089c54867053a5aae062b765f257ca419e27 (diff)
downloadlinux-ee11940f8e7a2f064af22d52180cb5f9643eef61.tar.gz
linux-ee11940f8e7a2f064af22d52180cb5f9643eef61.tar.bz2
linux-ee11940f8e7a2f064af22d52180cb5f9643eef61.zip
cirrusfb: remove unused variables
After commit a1d35a7a (cirrusfb: use modedb and add mode_option parameter), these variables are no longer used, so remove them to fix compilation warning. Signed-off-by: Vlada PeriƦ <vlada.peric@gmail.com> Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/video/cirrusfb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
index 8a8760230bc7..a2aa6ddffbe2 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");