Skip to content

Commit

Permalink
[PATCH] atyfb: Remove dead code
Browse files Browse the repository at this point in the history
Remove code that can never be reached.

Coverity Bug 67

Signed-off-by: Antonino Daplas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
adaplas authored and Linus Torvalds committed Mar 27, 2006
1 parent 0e4be28 commit eba87e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2298,6 +2298,10 @@ static int __init aty_init(struct fb_info *info, const char *name)
case CLK_ATI18818_1:
par->pll_ops = &aty_pll_ati18818_1;
break;
case CLK_IBMRGB514:
par->pll_ops = &aty_pll_ibm514;
break;
#if 0 /* dead code */
case CLK_STG1703:
par->pll_ops = &aty_pll_stg1703;
break;
Expand All @@ -2307,9 +2311,7 @@ static int __init aty_init(struct fb_info *info, const char *name)
case CLK_ATT20C408:
par->pll_ops = &aty_pll_att20c408;
break;
case CLK_IBMRGB514:
par->pll_ops = &aty_pll_ibm514;
break;
#endif
default:
PRINTKI("aty_init: CLK type not implemented yet!");
par->pll_ops = &aty_pll_unsupported;
Expand Down

0 comments on commit eba87e8

Please sign in to comment.