提交 dac5bafa 编写于 作者: E Eric Sesterhenn 提交者: Linus Torvalds

[PATCH] Dead code in drivers/isdn/avm/avmcard.h

This fixes coverity id #2.  the if (i==0) is pretty useless, since we
assing i=0, just the line before.
Signed-off-by: NEric Sesterhenn <snakebyte@gmx.de>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 07dc1f9f
......@@ -437,9 +437,7 @@ static inline unsigned int t1_get_slice(unsigned int base,
#endif
dp += i;
i = 0;
if (i == 0)
break;
/* fall through */
break;
default:
*dp++ = b1_get_byte(base);
i--;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册