projects/linux·commit ee11940f

cirrusfb: remove unused variables

ee11940f · Vlada Peric <[email protected]> · 2008-11-19 15:36:45 -08:00

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æ <[email protected]>
Acked-by: Krzysztof Helt <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
ee11940f8e7a2f064af22d52180cb5f9643eef61
Parents
00d8089c

Changes

1 files changed · +1 −2

FileStatusAddDelContent
drivers/video/cirrusfb.cmodified+1−2View file

drivers/video/cirrusfb.c

View file
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");