diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-06-26 03:26:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 12:58:30 -0400 |
commit | 0fa67f84f445e8c567f8a189f2262dd9f8334bc1 (patch) | |
tree | 6e71418fc5b3e4e578e1a79f211f784f3cb28ab3 /drivers/video/aty | |
parent | 4ee1acce49d616e0e3fbff76fa1dea0c7350535d (diff) |
[PATCH] atyfb: Fix dead code
Coverity Bug 68:
Fix dead code
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/aty')
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index 54ebc5a808ef..ef1379d116b4 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -2402,12 +2402,15 @@ static int __init aty_init(struct fb_info *info, const char *name) | |||
2402 | break; | 2402 | break; |
2403 | } | 2403 | } |
2404 | switch (clk_type) { | 2404 | switch (clk_type) { |
2405 | #ifdef CONFIG_ATARI | ||
2405 | case CLK_ATI18818_1: | 2406 | case CLK_ATI18818_1: |
2406 | par->pll_ops = &aty_pll_ati18818_1; | 2407 | par->pll_ops = &aty_pll_ati18818_1; |
2407 | break; | 2408 | break; |
2409 | #else | ||
2408 | case CLK_IBMRGB514: | 2410 | case CLK_IBMRGB514: |
2409 | par->pll_ops = &aty_pll_ibm514; | 2411 | par->pll_ops = &aty_pll_ibm514; |
2410 | break; | 2412 | break; |
2413 | #endif | ||
2411 | #if 0 /* dead code */ | 2414 | #if 0 /* dead code */ |
2412 | case CLK_STG1703: | 2415 | case CLK_STG1703: |
2413 | par->pll_ops = &aty_pll_stg1703; | 2416 | par->pll_ops = &aty_pll_stg1703; |