mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
Revert "fbdev: atafb - add palette register check"
This reverts commit8546e3ce6e
, as it's a partial duplicate of commit2f390380ca
("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>
This commit is contained in:
parent
04a1e62c2c
commit
331d9d5958
1 changed files with 0 additions and 3 deletions
|
@ -2245,9 +2245,6 @@ static int ext_setcolreg(unsigned int regno, unsigned int red,
|
||||||
if (regno > 255)
|
if (regno > 255)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (regno > 255)
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
switch (external_card_type) {
|
switch (external_card_type) {
|
||||||
case IS_VGA:
|
case IS_VGA:
|
||||||
OUTB(0x3c8, regno);
|
OUTB(0x3c8, regno);
|
||||||
|
|
Loading…
Reference in a new issue