From: Antonino A. Daplas Date: Mon, 26 Jun 2006 07:26:43 +0000 (-0700) Subject: [PATCH] atyfb: Fix dead code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0fa67f84f445e8c567f8a189f2262dd9f8334bc1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [PATCH] atyfb: Fix dead code Coverity Bug 68: Fix dead code Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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) break; } switch (clk_type) { +#ifdef CONFIG_ATARI case CLK_ATI18818_1: par->pll_ops = &aty_pll_ati18818_1; break; +#else case CLK_IBMRGB514: par->pll_ops = &aty_pll_ibm514; break; +#endif #if 0 /* dead code */ case CLK_STG1703: par->pll_ops = &aty_pll_stg1703;