From: Tiezhu Yang Date: Tue, 19 Sep 2023 11:05:01 +0000 (+0800) Subject: MIPS: Remove dead code in relocate_new_kernel X-Git-Tag: microblaze-v6.8~25^2~9 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=4d0f332a6fb65aac2fa98e61bbed4ac9dfcf0a01;p=linux-2.6-microblaze.git 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 Signed-off-by: Thomas Bogendoerfer --- 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