projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07dc1f9
)
[PATCH] Dead code in drivers/isdn/avm/avmcard.h
author
Eric Sesterhenn
<snakebyte@gmx.de>
Sun, 26 Mar 2006 09:38:38 +0000
(
01:38
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:06 +0000
(08:57 -0800)
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>
drivers/isdn/hardware/avm/avmcard.h
patch
|
blob
|
history
diff --git
a/drivers/isdn/hardware/avm/avmcard.h
b/drivers/isdn/hardware/avm/avmcard.h
index 296d6a6f749f084cdb88a1c02847088564bd3f0b..3b431723c7cb6c4222c411c70226769e448e4d3c 100644
(file)
--- 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,
#endif
dp += i;
i = 0;
- if (i == 0)
- break;
- /* fall through */
+ break;
default:
*dp++ = b1_get_byte(base);
i--;