mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
video/macfb: Call fb_invert_cmaps()
The 'inverse' parameter has no effect otherwise. Remove set-but-unused variable. Signed-off-by: Finn Thain <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
cbb91d5d48
commit
f82301661c
1 changed files with 1 additions and 2 deletions
|
|
@ -136,7 +136,6 @@ static struct fb_fix_screeninfo macfb_fix = {
|
|||
static void *slot_addr;
|
||||
static struct fb_info fb_info;
|
||||
static u32 pseudo_palette[16];
|
||||
static int inverse;
|
||||
static int vidtest;
|
||||
|
||||
/*
|
||||
|
|
@ -520,7 +519,7 @@ static void __init macfb_setup(char *options)
|
|||
continue;
|
||||
|
||||
if (!strcmp(this_opt, "inverse"))
|
||||
inverse = 1;
|
||||
fb_invert_cmaps();
|
||||
else
|
||||
if (!strcmp(this_opt, "vidtest"))
|
||||
vidtest = 1; /* enable experimental CLUT code */
|
||||
|
|
|
|||
Loading…
Reference in a new issue