summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2007-10-12 16:11:34 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-10-12 16:13:06 +0200
commitf5360106422302e8eed4d07ea8daf81ec19ca345 (patch)
tree585756dcde01731ceb050995673e6bd3677f4831 /arch/s390
parent74ccbdc226cac44bb56cd479917195dc5132d7aa (diff)
downloadlinux-f5360106422302e8eed4d07ea8daf81ec19ca345.tar.gz
linux-f5360106422302e8eed4d07ea8daf81ec19ca345.tar.bz2
linux-f5360106422302e8eed4d07ea8daf81ec19ca345.zip
[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>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kernel/dis.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/kernel/dis.c b/arch/s390/kernel/dis.c
index 5f315affc81e..c14a336f6300 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;