From: Geert Uytterhoeven Date: Sat, 18 Aug 2012 13:30:21 +0000 (+0200) Subject: fbdev/amifb: Remove write-only variable amifb_inverse X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9ac5de0c575ee10739fd1c1a4bcedab7b0dde631;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git fbdev/amifb: Remove write-only variable amifb_inverse Signed-off-by: Geert Uytterhoeven Signed-off-by: Florian Tobias Schandinat --- diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c index 887df9d81422..7fa1bf823729 100644 --- a/drivers/video/amifb.c +++ b/drivers/video/amifb.c @@ -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;