Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp571512rdb; Tue, 19 Sep 2023 04:17:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFaccyXnL4UOS98mhS9QGQIqJJ7mqWOFc1vE4adGS0520A546tbIeSK2oUKxyeMErN5TDQx X-Received: by 2002:a05:6a21:7889:b0:140:730b:4b3f with SMTP id bf9-20020a056a21788900b00140730b4b3fmr13180992pzc.1.1695122231472; Tue, 19 Sep 2023 04:17:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695122231; cv=none; d=google.com; s=arc-20160816; b=BbS4YnsXP22ytvl7Qre0zhqsPF0KESdqnH1Y8m0HolfuUgUqek1005p1DjlDUoXPX3 GwC5UUrkh9F5EyDnt1WYFt6mCmuZc0HxEmtQQ2QtY3Qjgmwe5K/YvzNAMZ1EArJndTYn uCLj5UWzTstKEPYyeN7G04DyzvAK5uQ4Nev1mCUpS7z/54R6Ktkg7PbwJQ4GQ+43j8zQ neg7obRM8owseLRVu+nY9SzXsCc2ihSrlXDd4u7QRumKyd5NXfKo8wWPpEg6GwMmKGjB FBxnnKMgzQ7rJ5RUjBPI8BXCP76cARrfzYEKpMLwHXkTv6xUHfwjZgCnEcKpDvt2Ufyo PvZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=dMpAF5/chr7WeIvxu2RQcrmItZqkuDzgT1vX6D3jpTg=; fh=q4Prepb+gBUA1gq6cSQi+QwpW5GnK7rHcZFL4+AiQMQ=; b=b60icJ+uX7qSYrhsCCjG94Httz3HSxzHsOfJ5emKwlFGUVdd8nDlobFnX5jvkBip9v rjh1vGnipS4Si3jnk3jOfW8Sd3Ur8LL+Fi03yziH2ZUQgj2ODQclnehes1Zx+4QY0kiL 83/GzVxIJ1NLz3CyLFRWSFAn1ihRFfEQ5T8T3AOvKxgA89TJQXexSrFR7xcnherW11TD F3juXwlBdnQhc3GbaUTiJtZlN+hr3kYRX46Y55xz7D97t5alG0iKuxQCrMTZRZ8X2f0J B8vjZeaQNozKSjhujbYY5rpE3Vz+EjtBRD4QjoqSs5K+3d/3Ae9zkHn+9yAzYmKsKHd1 6pkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id f20-20020a63f114000000b00578bb707e70si686557pgi.799.2023.09.19.04.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 04:17:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 83F39809D3C7; Tue, 19 Sep 2023 04:05:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232001AbjISLFZ (ORCPT + 99 others); Tue, 19 Sep 2023 07:05:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232083AbjISLFM (ORCPT ); Tue, 19 Sep 2023 07:05:12 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7D78519A; Tue, 19 Sep 2023 04:05:04 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8CxbetfgAllzeUpAA--.12741S3; Tue, 19 Sep 2023 19:05:03 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxfNxdgAllNn4LAA--.22959S2; Tue, 19 Sep 2023 19:05:01 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] MIPS: Remove dead code in relocate_new_kernel Date: Tue, 19 Sep 2023 19:05:01 +0800 Message-Id: <1695121501-13216-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8CxfNxdgAllNn4LAA--.22959S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBj9xXoWrXr4xKw1xCryxZFWfJr1xtFc_yoWxGFc_KF 12qw1kCr4rJr42vw10qayfWryFv34YgF95C3ZFy3yay3sIyryUZ3yrtas8Wwn8Gr4vkrZ5 Zws8GFsxtr4xtosvyTuYvTs0mTUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb7AYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV WUJVW8JwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6F4UJVW0owAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc 02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUGVWUXwAv7VC2z280aVAF wI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7V AKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCj r7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUXVWUAwCIc40Y0x0EwIxGrwCI42IY6x IIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAI w20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Gr0_Cr1lIxAIcVC2z280aVCY1x 0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU1MKZJUUUUU== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 19 Sep 2023 04:05:24 -0700 (PDT) There are two adjacent "b" instructions, the second one is unreachable, it is dead code, just remove it. Signed-off-by: Tiezhu Yang --- arch/mips/kernel/relocate_kernel.S | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/kernel/relocate_kernel.S b/arch/mips/kernel/relocate_kernel.S index f5b2ef97..8f0a726 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 -- 2.1.0