Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2500933ybk; Mon, 18 May 2020 00:12:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwE5Yaizuh91dBBKEtIIfg/ZKKAIDpvF/9cnTY1lggG0MXmOy9r/91RTOY2mj2q4+WUZNrW X-Received: by 2002:a50:c047:: with SMTP id u7mr12980930edd.208.1589785946920; Mon, 18 May 2020 00:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589785946; cv=none; d=google.com; s=arc-20160816; b=YbyoOu0D1yGll5eYtXuP6k006lxFFZI7qMho2xd/DyGTh7/dJdTOJA8i33i9TVTLbc j4WPjgQ43KF4Qh86vQ5hep2iPpvG8HXi5CYKk38GZ+NIPkBZ5C/89oimGyxtL2DkdhuT M/UjsMNYeuiUPmZ7VPruOVnDMhx5+l2/N5WUQRT1n0kUwBSndEkVZYUV+9HOYZz81h+y a58cI7IM7Iwdxofe/D+5QFl0mD5iVrM/ymqIZShXxmwfffcqcavvcX8kgWUHZN5YrcY0 +y7nuJEAXxtJ9zmjrBwQZ4Ts8Rz11kQwfmIRl593d16/ZwAJEILe5lA4AEhgz4jEi0P9 dR7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=xrZYOdlZatzKjDTFhryXnGEqzy05SkgSOaB0i6LdDgY=; b=hSPs7n24HQwvCiMPzCP9hkk7HcRG+DZHBZ6UpoLGQo7fJsFSBzUr3Oh2y/jQnUC2J3 rozC4wHaFaSwsS5Li4Bd5rj6QhlHnKC9t+GHEA6R11V8QEXTGF9z3+SPY7PaJFdcVlpR CaBzwud18/Oa7OfszQbbDmPStJmfTFYWXR2AeBynPGGc4PzA2/uloCKsmX7QMu+jLzyW dmZLK1BV4w5WD5NtlAcWbV0qvIIj2UBRoNCGe2aTWBHX3/sD4nP1WPZyV7aZhEqOEuz+ QvK5czuKufslpCCC+NmSduQkBSuZdkCZkUZjWXbjC2nj04SQJnymaPAyC2O/A5q4I5/J b+yQ== 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 y10si5382931edp.3.2020.05.18.00.12.02; Mon, 18 May 2020 00:12:26 -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 S1727017AbgERHIM (ORCPT + 99 others); Mon, 18 May 2020 03:08:12 -0400 Received: from mail.loongson.cn ([114.242.206.163]:50554 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726676AbgERHIM (ORCPT ); Mon, 18 May 2020 03:08:12 -0400 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx391YNMJevgA2AA--.0S2; Mon, 18 May 2020 15:08:09 +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 v2] MIPS: Remove useless parameter of bootcmdline_init() Date: Mon, 18 May 2020 15:08:08 +0800 Message-Id: <1589785688-10426-1-git-send-email-lizhi01@loongson.cn> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf9Dx391YNMJevgA2AA--.0S2 X-Coremail-Antispam: 1UD129KBjvdXoW7Jr1r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z05rqj20fqof0/ 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 --- v2: - Remove "the" before "bootcmdline_init()" in the patch subject. 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