Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42E0DC04A6A for ; Thu, 3 Aug 2023 09:30:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3A63A86879; Thu, 3 Aug 2023 11:30:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=tinylab.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id AAEBB865FB; Thu, 3 Aug 2023 11:30:38 +0200 (CEST) Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.67.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 346CC86879 for ; Thu, 3 Aug 2023 11:30:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=tinylab.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng@tinylab.org X-QQ-mid: bizesmtp83t1691055022txm149wv Received: from pek-vx-bsp2.wrs.com ( [60.247.85.88]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 03 Aug 2023 17:30:05 +0800 (CST) X-QQ-SSF: 01200000000000F0H000000A0000000 X-QQ-FEAT: dKvkn8qoLrEhHRiD41I0TvIDSbUswSXAsjbi+cjIdzELZ4xkUz9+R+LmD6+Wk Jy1O1EYyetfO+6Mh9p+DsNJsy9oIF4+QwetACBu7smQNkD7/209rEOJ6g1LsyKiJNZw2APA xdLHUK35o0SoT3PAetILdvGJR+wAaJJcW/CHXnJTlieTdnwajAfoOL8o7ypYJ4yGfRpxR4+ 5K8ysybKyDmPH8DAZEQa4t7lHdXsuzq4IrDYctfGEcg7Em5ce/vU2uyJGqo5aa+76bVAdg5 Paa+OrQlZBh5g9c9UkxR8ST2keB1k9tyAt4C4M26udqRojJ9ItG7bNFMB+W5Z3Da4S1CyPC BX2rZaaF4EQRRZRhrba3BNlhECtyA== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 3238572302174983321 From: Bin Meng To: Simon Glass , u-boot@lists.denx.de Subject: [PATCH] bootmeth: efi: Make distro_efi_boot() static Date: Thu, 3 Aug 2023 17:30:05 +0800 Message-Id: <20230803093005.1088371-1-bmeng@tinylab.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz7a-0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean As it is only called in bootmeth_efi.c Signed-off-by: Bin Meng --- boot/bootmeth_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c index af31fbfc85..2d4c3c6728 100644 --- a/boot/bootmeth_efi.c +++ b/boot/bootmeth_efi.c @@ -372,7 +372,7 @@ static int distro_efi_read_bootflow(struct udevice *dev, struct bootflow *bflow) return 0; } -int distro_efi_boot(struct udevice *dev, struct bootflow *bflow) +static int distro_efi_boot(struct udevice *dev, struct bootflow *bflow) { ulong kernel, fdt; char cmd[50]; -- 2.25.1