Skip to content

Commit

Permalink
Revert "fbdev: atafb - add palette register check"
Browse files Browse the repository at this point in the history
This reverts commit 8546e3c, as it's a
partial duplicate of commit 2f39038
("fbdev: add palette register check to several drivers").

The former went in first through the m68k tree, the latter through Andrew
Morton.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Dec 17, 2009
1 parent 04a1e62 commit 331d9d5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/video/atafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2245,9 +2245,6 @@ static int ext_setcolreg(unsigned int regno, unsigned int red,
if (regno > 255)
return 1;

if (regno > 255)
return 1;

switch (external_card_type) {
case IS_VGA:
OUTB(0x3c8, regno);
Expand Down

0 comments on commit 331d9d5

Please sign in to comment.