[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: Eric Sesterhenn <snakebyte@gmx.de>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Eric Sesterhenn 2006-03-26 01:38:38 -08:00 committed by Linus Torvalds
parent 07dc1f9f2f
commit dac5bafa35

View File

@ -437,9 +437,7 @@ static inline unsigned int t1_get_slice(unsigned int base,
#endif #endif
dp += i; dp += i;
i = 0; i = 0;
if (i == 0) break;
break;
/* fall through */
default: default:
*dp++ = b1_get_byte(base); *dp++ = b1_get_byte(base);
i--; i--;