Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2647295pxm; Mon, 28 Feb 2022 03:28:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJx39K9jJwX3vyT3+Eko8D9MgMF8evGA4zDepnDRJv/ijEO9jMI3DaXoqUUuK7397plC8grz X-Received: by 2002:a17:903:244d:b0:150:18f3:8e98 with SMTP id l13-20020a170903244d00b0015018f38e98mr19542871pls.28.1646047707548; Mon, 28 Feb 2022 03:28:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646047707; cv=none; d=google.com; s=arc-20160816; b=Id6/gAfqrjNMNXIKREwsIbGtVQgj1OnCEjuwvLrUQs4k9m5T77n/3MphXc+HXqTMWv 1AEmwULgqDDwUTs7MMgh3K3hfoMNBwDYJpS1xje+1y9XvyWeGBtWFOLQdKpjM+w7T354 kQc/vR7Wpd8JuUVwtPGTxur/eZvUfKyf0JAINQbySvsRij/koL3LFYTXu2R+nwi3WXYv tpbrHIeIcSC/G9Z4knnov8M+ZNAEQzRoRc5WI3kcxjXZjkjqUG8MMDYHvimUXFaY6UNa nYkVrt+s3uLccfoZ3qBeZlhVncDvCqMyolOquJU+pOutTYuBKxvvIcEo29KbhVArzbRZ gPpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=sUtmKR54x6CWxb6sUf4/e8CYLN7rP/4J2uI8YcVfOXw=; b=T5SbbPMA8C7drgg1siJr3+biBOLGWIbblARVxFwk3Z54voO/wf6EXghRodn6BeyAc8 En0OG9jLP96NqmcTSjuHJRbxZZFkRwPT/2QCsxoYixL9LcaBRFJ9+BG5dvibetqm5JoZ KmVpy/YAaos2ZGLvAA0SqDL8jiwLbbnTR4GL4EIz/a5TKozoS9od/YabWMsa3aM9n4mK jG5WWBQDCHWRbcpq50DYvoE5If7eN1zuB1rO6+mbCbU4ieoRWA+N+6wguNYrFdPIb9Q9 B2Yb+2x5R3v9bO+q4OrhggaajhoyAJ7MOn4LqH9cbOGvd+tcWER4NyqVCz2KAImsbfxr 9WoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm27-20020a656e9b000000b0037442569ed3si9707635pgb.261.2022.02.28.03.28.11; Mon, 28 Feb 2022 03:28:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230105AbiB1GcG (ORCPT + 99 others); Mon, 28 Feb 2022 01:32:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231970AbiB1Gb7 (ORCPT ); Mon, 28 Feb 2022 01:31:59 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 111A066AE8; Sun, 27 Feb 2022 22:31:17 -0800 (PST) Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxGMkrbBxiQxMIAA--.10334S6; Mon, 28 Feb 2022 14:31:09 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer , Mike Rapoport , Andrew Morton Cc: Xuefeng Li , linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] MIPS: Remove not used variable usermem Date: Mon, 28 Feb 2022 14:31:06 +0800 Message-Id: <1646029866-6692-5-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1646029866-6692-1-git-send-email-yangtiezhu@loongson.cn> References: <1646029866-6692-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf9DxGMkrbBxiQxMIAA--.10334S6 X-Coremail-Antispam: 1UD129KBjvdXoW7XFW7Xw4kJr48CryfXr1rtFb_yoWfJFc_tr 47XF4kZr1UZ3Wj9rWqqw4fWFWIyws2qFZa9wn2v39Yyw15Jr1UurZ0yF9Iqrn5urs5ArZY yrZ0vFn0kF4xWjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb68FF20E14v26rWj6s0DM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI8067AKxVWUAVCq3wA2048vs2 IY020Ec7CjxVAFwI0_Xr0E3s1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28E F7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8Jr0_Cr 1UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE 3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2I x0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8 JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lc2xSY4AK67AK6r47Mx AIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_ Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwI xGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8JVWx JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcV C2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7VUbY0PDUUUUU== X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Now, the variable usermem is not used any more, just remove it. Signed-off-by: Tiezhu Yang --- arch/mips/kernel/setup.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index e3b1f2e..a65d0b28 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -338,7 +338,6 @@ static void __init bootmem_init(void) #endif /* CONFIG_SGI_IP27 */ -static int usermem __initdata; static phys_addr_t memory_limit; static phys_addr_t memory_base; @@ -596,10 +595,6 @@ static void __init arch_mem_init(char **cmdline_p) *cmdline_p = command_line; parse_early_param(); - - if (usermem) - pr_info("User-defined physical RAM map overwrite\n"); - check_kernel_sections_mem(); early_init_fdt_reserve_self(); -- 2.1.0