diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 03:37:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:26 -0400 |
commit | 3a2842480bbef42c3c90e14c1f378360d8c20a0c (patch) | |
tree | d14990605436f14fe06a645aaa1818c80d4d46ca | |
parent | 41988d6e601fc6addef40421c57763a846d8ab1c (diff) |
atyfb: kill dead code
Coverity Bug 68, kill dead code.
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index 8514f2a6f060..a92e02aa8d18 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -2338,6 +2338,7 @@ static int __devinit aty_init(struct fb_info *info) | |||
2338 | case DAC_IBMRGB514: | 2338 | case DAC_IBMRGB514: |
2339 | par->dac_ops = &aty_dac_ibm514; | 2339 | par->dac_ops = &aty_dac_ibm514; |
2340 | break; | 2340 | break; |
2341 | #ifdef CONFIG_ATARI | ||
2341 | case DAC_ATI68860_B: | 2342 | case DAC_ATI68860_B: |
2342 | case DAC_ATI68860_C: | 2343 | case DAC_ATI68860_C: |
2343 | par->dac_ops = &aty_dac_ati68860b; | 2344 | par->dac_ops = &aty_dac_ati68860b; |
@@ -2346,6 +2347,7 @@ static int __devinit aty_init(struct fb_info *info) | |||
2346 | case DAC_ATT21C498: | 2347 | case DAC_ATT21C498: |
2347 | par->dac_ops = &aty_dac_att21c498; | 2348 | par->dac_ops = &aty_dac_att21c498; |
2348 | break; | 2349 | break; |
2350 | #endif | ||
2349 | default: | 2351 | default: |
2350 | PRINTKI("aty_init: DAC type not implemented yet!\n"); | 2352 | PRINTKI("aty_init: DAC type not implemented yet!\n"); |
2351 | par->dac_ops = &aty_dac_unsupported; | 2353 | par->dac_ops = &aty_dac_unsupported; |