提交 3a284248 编写于 作者: A Antonino A. Daplas 提交者: Linus Torvalds

atyfb: kill dead code

Coverity Bug 68, kill dead code.
Signed-off-by: NAntonino Daplas <adaplas@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 41988d6e
...@@ -2338,6 +2338,7 @@ static int __devinit aty_init(struct fb_info *info) ...@@ -2338,6 +2338,7 @@ static int __devinit aty_init(struct fb_info *info)
case DAC_IBMRGB514: case DAC_IBMRGB514:
par->dac_ops = &aty_dac_ibm514; par->dac_ops = &aty_dac_ibm514;
break; break;
#ifdef CONFIG_ATARI
case DAC_ATI68860_B: case DAC_ATI68860_B:
case DAC_ATI68860_C: case DAC_ATI68860_C:
par->dac_ops = &aty_dac_ati68860b; par->dac_ops = &aty_dac_ati68860b;
...@@ -2346,6 +2347,7 @@ static int __devinit aty_init(struct fb_info *info) ...@@ -2346,6 +2347,7 @@ static int __devinit aty_init(struct fb_info *info)
case DAC_ATT21C498: case DAC_ATT21C498:
par->dac_ops = &aty_dac_att21c498; par->dac_ops = &aty_dac_att21c498;
break; break;
#endif
default: default:
PRINTKI("aty_init: DAC type not implemented yet!\n"); PRINTKI("aty_init: DAC type not implemented yet!\n");
par->dac_ops = &aty_dac_unsupported; par->dac_ops = &aty_dac_unsupported;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册