From: Geert Uytterhoeven Date: Sat, 18 Aug 2012 13:30:21 +0000 (+0200) Subject: fbdev/amifb: Remove write-only variable amifb_inverse X-Git-Tag: Ubuntu-5.2.0-15.16~17040^2~47 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9ac5de0c575ee10739fd1c1a4bcedab7b0dde631;p=mirror_ubuntu-eoan-kernel.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;