Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[S390] disassembler: Remove redundant variable assignment

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>

authored by

Christian Borntraeger and committed by
Martin Schwidefsky
f5360106 74ccbdc2

-1
-1
arch/s390/kernel/dis.c
··· 1243 1243 } 1244 1244 /* Find a starting point for the disassembly. */ 1245 1245 while (start < 32) { 1246 - hops = 0; 1247 1246 for (i = 0, hops = 0; start + i < 32 && hops < 3; hops++) { 1248 1247 if (!find_insn(code + start + i)) 1249 1248 break;