Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dac5bafa authored by Eric Sesterhenn's avatar Eric Sesterhenn Committed by Linus Torvalds
Browse files

[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: default avatarEric Sesterhenn <snakebyte@gmx.de>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 07dc1f9f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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 */
				default:
					*dp++ = b1_get_byte(base);
					i--;