aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-03-27 04:17:35 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 11:44:56 -0500
commiteba87e8e8d7024da827accb00ce7e3affd10b7de (patch)
tree58f072405f64681ff96345aeb0b430ae0a124487
parent0e4be28023c14624e03a09b4494e919e088513f0 (diff)
[PATCH] atyfb: Remove dead code
Remove code that can never be reached. Coverity Bug 67 Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/video/aty/atyfb_base.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
index 485be386a8ff..d790ee76cc70 100644
--- a/drivers/video/aty/atyfb_base.c
+++ b/drivers/video/aty/atyfb_base.c
@@ -2298,6 +2298,10 @@ static int __init aty_init(struct fb_info *info, const char *name)
2298 case CLK_ATI18818_1: 2298 case CLK_ATI18818_1:
2299 par->pll_ops = &aty_pll_ati18818_1; 2299 par->pll_ops = &aty_pll_ati18818_1;
2300 break; 2300 break;
2301 case CLK_IBMRGB514:
2302 par->pll_ops = &aty_pll_ibm514;
2303 break;
2304#if 0 /* dead code */
2301 case CLK_STG1703: 2305 case CLK_STG1703:
2302 par->pll_ops = &aty_pll_stg1703; 2306 par->pll_ops = &aty_pll_stg1703;
2303 break; 2307 break;
@@ -2307,9 +2311,7 @@ static int __init aty_init(struct fb_info *info, const char *name)
2307 case CLK_ATT20C408: 2311 case CLK_ATT20C408:
2308 par->pll_ops = &aty_pll_att20c408; 2312 par->pll_ops = &aty_pll_att20c408;
2309 break; 2313 break;
2310 case CLK_IBMRGB514: 2314#endif
2311 par->pll_ops = &aty_pll_ibm514;
2312 break;
2313 default: 2315 default:
2314 PRINTKI("aty_init: CLK type not implemented yet!"); 2316 PRINTKI("aty_init: CLK type not implemented yet!");
2315 par->pll_ops = &aty_pll_unsupported; 2317 par->pll_ops = &aty_pll_unsupported;