diff --git a/drivers/video/atafb.c b/drivers/video/atafb.c index 2051c9dc813bf9fc1a1cb27c29f144322f039e91..b7687c55fe16b6d04efed50a5059dd1b100672ec 100644 --- 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);