Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2996140pxm; Mon, 28 Feb 2022 09:58:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyE5eASniP6CdhaLuONsFIKDix+XGE1/oXMIgL55k97Jy90QAmD9b9H63d9IJIDzAQXWpzQ X-Received: by 2002:a05:6402:268a:b0:410:cc67:e792 with SMTP id w10-20020a056402268a00b00410cc67e792mr20763792edd.218.1646071136115; Mon, 28 Feb 2022 09:58:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646071136; cv=none; d=google.com; s=arc-20160816; b=OtjvuBWP0VECZooYq6HOziET0ucfAGd0YajRZN9DUODHwUeW/+KNWx5+IYRqzhntKV toj99q5kEGItyAL7AQBKdZO5pmge9JCm1XjURRup1BFstD1SgyDcmkAY0R/G5KDeL0Hi e8ieoXm7rDxXTmAn0udu9+V2/ua+190jSW/5vsCvSeODG/I1ht1o0dfKIQaXJfwwzmuJ YWkjs7wVsNWK6Cg6ldPQOiDQ/pVelhteBbHfEJH0qKqqRseuQBE2+rRxHaZql9t27OmI q4aCX16gR5Q1xUQqreGqiOVMIXLAnjKxwIpmNYYmJUNBqvYpMe0sJa3b0/N3WzPe2nhH SXJA== 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=jhg2a6cVCK+Ajgh5vnxjjtX3KVisgEbsCE1YlyxeiHQ=; b=ahdl+O963ktKpPqggpfgqSClhFjSv4FRu3bBuLNk1Vh1v36uXCnJrzY9+VR6UxJAoR tuCtg/t90NxEusCXRPLh6CJoutsS7fPpByHeg0mX8luiBQr/pcqWJAsLw6Wb45eUdljt /MyWMFbmJrRuq3zD5SP83TBYcnBGCpZvqRH06k2gYkopnDf5ydF8ntAxQSXvxUqGREgN 9W5DFzctTVb2dcjKCwv72TobgDK9Y2mU79Q4Nkk29PygRTf2iCqSuwCv8eM/SSDQ82yy wKEeakii5W8xYaYcY0XAHkNm5F714vd5DsoRO6ISHWfxXyImhK3LkzJrX8XDYs3ZS+CF bKiQ== 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 cf10-20020a0564020b8a00b00410d2bb6658si7056697edb.42.2022.02.28.09.58.33; Mon, 28 Feb 2022 09:58:56 -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 S236012AbiB1NYf (ORCPT + 99 others); Mon, 28 Feb 2022 08:24:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235712AbiB1NYZ (ORCPT ); Mon, 28 Feb 2022 08:24:25 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A217E26576; Mon, 28 Feb 2022 05:23:45 -0800 (PST) Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxeMjazBxiKEAIAA--.10706S6; Mon, 28 Feb 2022 21:23:39 +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 v3 4/4] MIPS: Remove not used variable usermem Date: Mon, 28 Feb 2022 21:23:37 +0800 Message-Id: <1646054617-16799-5-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1646054617-16799-1-git-send-email-yangtiezhu@loongson.cn> References: <1646054617-16799-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf9DxeMjazBxiKEAIAA--.10706S6 X-Coremail-Antispam: 1UD129KBjvdXoW7XFW7Xw4kJr48CryfXr1rtFb_yoWfJFb_tr 47tF4kZr15Z3Wj9rWDXw4fWFWIyan2qFZa9wnYv3yayw15Jr1UurWYyF9xXrn5urs5ArZY yrZ0vFn0kF4xWjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbhxFF20E14v26rWj6s0DM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI8067AKxVWUAVCq3wA2048vs2 IY020Ec7CjxVAFwI0_Xr0E3s1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28E F7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVWxJVW8Jr 1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1l e2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI 8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwAC jcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lc2xSY4AK67AK6ry8MxAIw2 8IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4l x2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrw CI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI 42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Gr0_Cr1lIxAIcVC2z2 80aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7VUUCJm7UUUUU== 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 c940405..89fdaae 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; @@ -628,10 +627,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