diff mbox

fbdev/amifb: Remove write-only variable amifb_inverse

Message ID 1345296621-15367-1-git-send-email-geert@linux-m68k.org (mailing list archive)
State New, archived
Headers show

Commit Message

Geert Uytterhoeven Aug. 18, 2012, 1:30 p.m. UTC
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/video/amifb.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Comments

Florian Tobias Schandinat Aug. 23, 2012, 8:47 p.m. UTC | #1
On 08/18/2012 01:30 PM, Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Applied.


Thanks,

Florian Tobias Schandinat

> ---
>  drivers/video/amifb.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c
> index 887df9d..7fa1bf8 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;

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c
index 887df9d..7fa1bf8 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;