Commit 0fa67f84 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds

[PATCH] atyfb: Fix dead code

Coverity Bug 68:

Fix dead code
Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4ee1acce
...@@ -2402,12 +2402,15 @@ static int __init aty_init(struct fb_info *info, const char *name) ...@@ -2402,12 +2402,15 @@ static int __init aty_init(struct fb_info *info, const char *name)
break; break;
} }
switch (clk_type) { switch (clk_type) {
#ifdef CONFIG_ATARI
case CLK_ATI18818_1: case CLK_ATI18818_1:
par->pll_ops = &aty_pll_ati18818_1; par->pll_ops = &aty_pll_ati18818_1;
break; break;
#else
case CLK_IBMRGB514: case CLK_IBMRGB514:
par->pll_ops = &aty_pll_ibm514; par->pll_ops = &aty_pll_ibm514;
break; break;
#endif
#if 0 /* dead code */ #if 0 /* dead code */
case CLK_STG1703: case CLK_STG1703:
par->pll_ops = &aty_pll_stg1703; par->pll_ops = &aty_pll_stg1703;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment