Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2473811ybk; Sun, 17 May 2020 23:17:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSkxdBEAqp0eT/zEllahk+HNakD0l1iLYV9YstQmws4p/Wr4ifIZlPEhPZ6dHkZsvldN9e X-Received: by 2002:a17:906:bcd3:: with SMTP id lw19mr13864009ejb.276.1589782655749; Sun, 17 May 2020 23:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589782655; cv=none; d=google.com; s=arc-20160816; b=pp9OVidVioE81P/DpKl73NV51njmBUYtvnGk6QQ2A043NTwAmVuPEhzPSVRHU4k/Bq hMWQvH3t/9eQEVULO2rxEgK3oS0I60ujuxo9KIMKIQDzq25nRhro1+10UjNumZ4NXSdl ZxZJ38w248ezXkPFLuQJAzgOVaDWCiB36rklgWEn/28udUTPRDWUUVgsZL1LJEAcYKJ1 h13sisr4zdGFrd9UR0cc6BibHkREEnDMqc7dSn/BXhkG5Fofl672M/yEq5gEhLiHNN/l qJeSJYoFMlgtGvqAxaq4Yy4HESzQm2t5wid2jObwGJTO/JVT2G3yR233mZc+bFEfPqI+ uFLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=4ENAgDoCFUq44oryvP3GVsE62P8oLobjn+4B6vTZyT8=; b=zNcyne0kyplG8wotGYSirmBxj1vpwFhCcAZZuzhDzadoOg6wKMtJFC2H7yh/lWPsPc NBiucA1Nh88LP0YEoz37X/XAjMcVmRmXpeDfHAvMOJnoehWSKm9BqZwTbRepqZUo6cfr HUTZhxZaKzZVuN8JljZTa3OpE/OVWYWHL4OKE575oXEPz58U9Q/vAovw1xtDwgSCPs2s BefYlr9p+V0kmzAF5VH4cQfmlkaveEok3l/w30l9DBkgIMSxLHJNgzmfgzE/AuGwrr/c 5Z9mgj1+NJQiqYgzX5SXNCl64dwlii3BUaK4+WoKizZ/YClF87c3KZTUa5eW2sOk1oab 4IWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oq5si6034772ejb.395.2020.05.17.23.17.10; Sun, 17 May 2020 23:17:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726628AbgERGNn (ORCPT + 99 others); Mon, 18 May 2020 02:13:43 -0400 Received: from mail.loongson.cn ([114.242.206.163]:40384 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726508AbgERGNn (ORCPT ); Mon, 18 May 2020 02:13:43 -0400 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx39qRJ8Je+_s1AA--.5S2; Mon, 18 May 2020 14:13:38 +0800 (CST) From: Zhi Li To: Thomas Bogendoerfer Cc: Tiezhu Yang , Xuefeng Li , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] MIPS: Remove useless parameter of the bootcmdline_init() Date: Mon, 18 May 2020 14:13:36 +0800 Message-Id: <1589782416-2130-1-git-send-email-lizhi01@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf9Dx39qRJ8Je+_s1AA--.5S2 X-Coremail-Antispam: 1UD129KBjvdXoW7Jr1rGr48try7Gr4rWF4kWFg_yoWDJrgEqr 17Xw48C3y293WY9rW7Z34fWrWFyw4Fq3ZIvFnagw4Yy34fAw1UAr9xXFySqrn8ur4ayFya kFZayF4vgrZrKjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbx8FF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_ Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AKxVWxJr 0_GcWlnxkEFVAIw20F6cxK64vIFxWle2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xv F2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r4j6F 4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I 648v4I1l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67 AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIY rxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14 v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWrZr1j6s0DMIIF0xvEx4A2jsIE14v26r1j 6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUseO AUUUUU= X-CM-SenderInfo: xol2xxqqr6z05rqj20fqof0/ Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The parameter "cmdline_p" is useless in bootcmdline_init(), remove it. Signed-off-by: Zhi Li --- arch/mips/kernel/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 8db533c..7b537fa 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -575,7 +575,7 @@ static int __init bootcmdline_scan_chosen(unsigned long node, const char *uname, #endif /* CONFIG_OF_EARLY_FLATTREE */ -static void __init bootcmdline_init(char **cmdline_p) +static void __init bootcmdline_init(void) { bool dt_bootargs = false; @@ -658,7 +658,7 @@ static void __init arch_mem_init(char **cmdline_p) plat_mem_setup(); memblock_set_bottom_up(true); - bootcmdline_init(cmdline_p); + bootcmdline_init(); strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); *cmdline_p = command_line; -- 2.1.0