From: Christian Borntraeger Date: Fri, 12 Oct 2007 14:11:34 +0000 (+0200) Subject: [S390] disassembler: Remove redundant variable assignment X-Git-Tag: v2.6.24-rc1~1425 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f5360106422302e8eed4d07ea8daf81ec19ca345;p=linux-2.6-omap-h63xx.git [S390] disassembler: Remove redundant variable assignment There is no need to assign "0" to "hops" twice. Remove one assigment. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/dis.c b/arch/s390/kernel/dis.c index 5f315affc81..c14a336f630 100644 --- a/arch/s390/kernel/dis.c +++ b/arch/s390/kernel/dis.c @@ -1243,7 +1243,6 @@ void show_code(struct pt_regs *regs) } /* Find a starting point for the disassembly. */ while (start < 32) { - hops = 0; for (i = 0, hops = 0; start + i < 32 && hops < 3; hops++) { if (!find_insn(code + start + i)) break;