diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2023-09-19 19:05:01 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2023-10-06 10:13:51 +0200 |
commit | 4d0f332a6fb65aac2fa98e61bbed4ac9dfcf0a01 (patch) | |
tree | 224d36d047fa9be254fdc7a406f271a08d8e477a | |
parent | 70f8cd94f2bc7da7577f7751d03e568006accb97 (diff) | |
download | lwn-4d0f332a6fb65aac2fa98e61bbed4ac9dfcf0a01.tar.gz lwn-4d0f332a6fb65aac2fa98e61bbed4ac9dfcf0a01.zip |
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>
-rw-r--r-- | arch/mips/kernel/relocate_kernel.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/kernel/relocate_kernel.S b/arch/mips/kernel/relocate_kernel.S index f5b2ef979b43..8f0a7263a9d6 100644 --- a/arch/mips/kernel/relocate_kernel.S +++ b/arch/mips/kernel/relocate_kernel.S @@ -66,7 +66,6 @@ copy_word: LONG_ADDIU s6, s6, -1 beq s6, zero, process_entry b copy_word - b process_entry done: #ifdef CONFIG_SMP |