projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee1acc
)
[PATCH] atyfb: Fix dead code
author
Antonino A. Daplas
<adaplas@gmail.com>
Mon, 26 Jun 2006 07:26:43 +0000
(
00:26
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:30 +0000
(09:58 -0700)
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>
drivers/video/aty/atyfb_base.c
patch
|
blob
|
history
diff --git
a/drivers/video/aty/atyfb_base.c
b/drivers/video/aty/atyfb_base.c
index 54ebc5a808efc907e9e381588dd67df8c76bd574..ef1379d116b46136625515493d2ce635deaa87f5 100644
(file)
--- 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;