Skip to content

Commit 4d0f332

Browse files
seehearfeeltsbogend
authored andcommitted
MIPS: Remove dead code in relocate_new_kernel
There are two adjacent "b" instructions, the second one is unreachable, it is dead code, just remove it. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 70f8cd9 commit 4d0f332

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/mips/kernel/relocate_kernel.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ copy_word:
6666
LONG_ADDIU s6, s6, -1
6767
beq s6, zero, process_entry
6868
b copy_word
69-
b process_entry
7069

7170
done:
7271
#ifdef CONFIG_SMP

0 commit comments

Comments
 (0)