projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'v2.6.33-rc2' into for-2.6.33
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
video
/
atafb.c
diff --git
a/drivers/video/atafb.c
b/drivers/video/atafb.c
index 2051c9dc813bf9fc1a1cb27c29f144322f039e91..b7687c55fe16b6d04efed50a5059dd1b100672ec 100644
(file)
--- a/
drivers/video/atafb.c
+++ b/
drivers/video/atafb.c
@@
-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);