]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] disassembler: Remove redundant variable assignment
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 12 Oct 2007 14:11:34 +0000 (16:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 12 Oct 2007 14:13:06 +0000 (16:13 +0200)
There is no need to assign "0" to "hops" twice. Remove one assigment.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/dis.c

index 5f315affc81ed0b42e5312f9fbed09310e198c89..c14a336f63002c2d166ab86731a4c876a6a51d62 100644 (file)
@@ -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;