Skip to contentSkip to conversation

atyfb: Fix dead code

PATCH New Antonino A. Daplas 1 participant 1 message May 4, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 7/9 atyfb: Fix dead code

Coverity Bug 68:

Fix dead code

---

 drivers/video/aty/atyfb_base.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/video/aty/atyfb_base.c +3 -0
index 4813e4a..cacabf6 100644
@@ -2304,12 +2304,15 @@ static int __init aty_init(struct fb_inf
 			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;

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642