fbdev/amifb: Remove write-only variable amifb_inverse
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 18 Aug 2012 13:30:21 +0000 (15:30 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 13:19:46 +0000 (13:19 +0000)
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/amifb.c

index 887df9d..7fa1bf8 100644 (file)
@@ -949,7 +949,6 @@ static int round_down_bpp = 1;      /* for mode probing */
 
 
 static int amifb_ilbm = 0;     /* interleaved or normal bitplanes */
-static int amifb_inverse = 0;
 
 static u32 amifb_hfmin __initdata;     /* monitor hfreq lower limit (Hz) */
 static u32 amifb_hfmax __initdata;     /* monitor hfreq upper limit (Hz) */
@@ -2355,7 +2354,6 @@ static int __init amifb_setup(char *options)
                if (!*this_opt)
                        continue;
                if (!strcmp(this_opt, "inverse")) {
-                       amifb_inverse = 1;
                        fb_invert_cmaps();
                } else if (!strcmp(this_opt, "ilbm"))
                        amifb_ilbm = 1;