summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorVlada Peric <vlada.peric@gmail.com>2008-11-20 00:36:45 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-20 03:49:59 +0100
commitee11940f8e7a2f064af22d52180cb5f9643eef61 (patch)
treededcaf3c6903e6b4185e4de503219fa3dcf0f64d /drivers/video
parentvmscan: fix get_scan_ratio() comment (diff)
downloadlinux-ee11940f8e7a2f064af22d52180cb5f9643eef61.tar.xz
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>
Diffstat (limited to 'drivers/video')
-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");