diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2007-10-12 10:11:34 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-10-12 10:13:06 -0400 |
commit | f5360106422302e8eed4d07ea8daf81ec19ca345 (patch) | |
tree | 585756dcde01731ceb050995673e6bd3677f4831 | |
parent | 74ccbdc226cac44bb56cd479917195dc5132d7aa (diff) |
[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>
-rw-r--r-- | arch/s390/kernel/dis.c | 1 |
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) | |||
1243 | } | 1243 | } |
1244 | /* Find a starting point for the disassembly. */ | 1244 | /* Find a starting point for the disassembly. */ |
1245 | while (start < 32) { | 1245 | while (start < 32) { |
1246 | hops = 0; | ||
1247 | for (i = 0, hops = 0; start + i < 32 && hops < 3; hops++) { | 1246 | for (i = 0, hops = 0; start + i < 32 && hops < 3; hops++) { |
1248 | if (!find_insn(code + start + i)) | 1247 | if (!find_insn(code + start + i)) |
1249 | break; | 1248 | break; |