diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-03-26 04:38:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 11:57:06 -0500 |
commit | dac5bafa3521a10a42a470ab612cd2bbc12d4203 (patch) | |
tree | 5b9739c5e78b216b7170d974f8b73b3c9e942a4b /drivers | |
parent | 07dc1f9f2f80f67823dc9ab4ebe3b1b3b071b911 (diff) |
[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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/hardware/avm/avmcard.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/isdn/hardware/avm/avmcard.h b/drivers/isdn/hardware/avm/avmcard.h index 296d6a6f749f..3b431723c7cb 100644 --- a/drivers/isdn/hardware/avm/avmcard.h +++ b/drivers/isdn/hardware/avm/avmcard.h | |||
@@ -437,9 +437,7 @@ static inline unsigned int t1_get_slice(unsigned int base, | |||
437 | #endif | 437 | #endif |
438 | dp += i; | 438 | dp += i; |
439 | i = 0; | 439 | i = 0; |
440 | if (i == 0) | 440 | break; |
441 | break; | ||
442 | /* fall through */ | ||
443 | default: | 441 | default: |
444 | *dp++ = b1_get_byte(base); | 442 | *dp++ = b1_get_byte(base); |
445 | i--; | 443 | i--; |