projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ccbdc
)
[S390] disassembler: Remove redundant variable assignment
author
Christian Borntraeger
<borntraeger@de.ibm.com>
Fri, 12 Oct 2007 14:11:34 +0000
(16:11 +0200)
committer
Martin 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
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/dis.c
b/arch/s390/kernel/dis.c
index 5f315affc81ed0b42e5312f9fbed09310e198c89..c14a336f63002c2d166ab86731a4c876a6a51d62 100644
(file)
--- 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;