Skip to content

Commit 8ce71db

Browse files
stettbergergeertu
authored andcommitted
fbdev: atafb - Remove undead ifdef ATAFB_FALCON
The ATAFB_FALCON ifdef isn't necessary at this point, because it is checked in an outer ifdef level already and has no effect here. Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de> Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
1 parent 10b6879 commit 8ce71db

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/video/atafb.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,11 +1718,9 @@ static int falcon_setcolreg(unsigned int regno, unsigned int red,
17181718
(((red & 0xe000) >> 13) | ((red & 0x1000) >> 12) << 8) |
17191719
(((green & 0xe000) >> 13) | ((green & 0x1000) >> 12) << 4) |
17201720
((blue & 0xe000) >> 13) | ((blue & 0x1000) >> 12);
1721-
#ifdef ATAFB_FALCON
17221721
((u32 *)info->pseudo_palette)[regno] = ((red & 0xf800) |
17231722
((green & 0xfc00) >> 5) |
17241723
((blue & 0xf800) >> 11));
1725-
#endif
17261724
}
17271725
return 0;
17281726
}

0 commit comments

Comments
 (0)