浏览代码

[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>
Christian Borntraeger 17 年之前
父节点
当前提交
f536010642
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/s390/kernel/dis.c

+ 0 - 1
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;