Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3506722pxm; Mon, 28 Feb 2022 22:48:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFz1cf+a3sRHdRvLb/x7PBhxae+38RzUr33psZAkW0gUAId00ukkhabUqPf917Z/EjYQp9 X-Received: by 2002:a17:902:e552:b0:14f:bfec:eb2c with SMTP id n18-20020a170902e55200b0014fbfeceb2cmr24154895plf.108.1646117317145; Mon, 28 Feb 2022 22:48:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646117317; cv=none; d=google.com; s=arc-20160816; b=qCY+MOBNdEH73hmlhv0pc3ResJt4LaJPS47vFOFqYchmraZ/pQtZjbg74RWXrrxVFc l1VmNhI5dCkrSQBdrv/Em2PZKjw/Bn4q5UP31Uu7E6WdIPrCFnFjTWaRNcxR2ZCan5Dr tT+WotZeZKPHmN4dkGHCxzv87WWMnNTrqBtG7TUKG9KLqfzhURQ9Px/t7RQdzZdcxfE2 Dyh7fT/WFBstJYl1t1mnICESBtHyL1rBgLeB82QdgFfkfJW0JAwd62LzvjfMhFixqE8w PH3Rs52ZzrmHAmXxgEyp3D7cb4w1LFzQ3AZUTwEBufnt40Ega1uEnkam7DrobFHex0fK vnkw== 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=srjuPuStiEb34PtAun0OajfwoYw5ur+qioQF4gJ1LVs=; b=sxW9sBDFsCu360t5J29X1FOF0oeZVHNdimpmcAFOhgYcio7C2IYooVjvqp1aGDD/Id 5j3FXFRTampFwTk5LLJH0vw0y1+DZOqLwH/zg3VpfSYmhXqF9uW2c5il23K25K1+k/+q Y8lv5s0ugCB+B0uYjMMH7FWHYIq0vCDuz15Ocm3uFfyry7MrIPyjMn9Ms22lfgeCL4wh 8jLOkltzaOTEQEhaCO29PYllCk19KkSh9vtyeCUrxadvUNm6zVfx0xurQFmyWAl4aGuG oktVimYWpnb2Yfs8rpun6upe1BYSR2m/9I0tIU0GWKqyvCuIXMzoO6at9R3WWSCN94yN FsDg== 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 j7-20020a056a00174700b004e0314afb5bsi12667720pfc.179.2022.02.28.22.48.22; Mon, 28 Feb 2022 22:48:37 -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 S229623AbiCAEaR (ORCPT + 99 others); Mon, 28 Feb 2022 23:30:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232338AbiCAE3w (ORCPT ); Mon, 28 Feb 2022 23:29:52 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 179134D614; Mon, 28 Feb 2022 20:29:09 -0800 (PST) Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Bx4M4NoR1iUhoAAA--.595S6; Tue, 01 Mar 2022 12:29:03 +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 v4 4/4] MIPS: Remove not used variable usermem Date: Tue, 1 Mar 2022 12:29:01 +0800 Message-Id: <1646108941-27919-5-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1646108941-27919-1-git-send-email-yangtiezhu@loongson.cn> References: <1646108941-27919-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf9Bx4M4NoR1iUhoAAA--.595S6 X-Coremail-Antispam: 1UD129KBjvdXoW7XFW7Xw4kJr48CryfXr1rtFb_yoWfJFb_tr 42qF1kZr15Z3Wj9rWqqw4fWFWIyan2qFZavw1vv3yayw15Jr1UurWYyF9xXrn5ur4kArZY yrZ0vFn0kF4xWjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbhxFF20E14v26rWj6s0DM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI8067AKxVWUAVCq3wA2048vs2 IY020Ec7CjxVAFwI0_Xr0E3s1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28E F7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8JVWxJw A2z4x0Y4vEx4A2jsIE14v26F4UJVW0owA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1l e2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI 8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwAC jcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lc2xSY4AK67AK6r45MxAIw2 8IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4l x2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrw CI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI 42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z2 80aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7VUjPxhJUUUUU== 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 30c7d95..8f900f8 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