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 AAA48C001B0 for ; Sun, 23 Jul 2023 04:43:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7E2F1867FC; Sun, 23 Jul 2023 06:42:10 +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 62F5886824; Sun, 23 Jul 2023 06:42:05 +0200 (CEST) Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.221.58]) (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 7A332867D3 for ; Sun, 23 Jul 2023 06:42:01 +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: bizesmtp84t1690087281tnd23lol Received: from ubuntu.. ( [111.196.130.174]) by bizesmtp.qq.com (ESMTP) with id ; Sun, 23 Jul 2023 12:41:19 +0800 (CST) X-QQ-SSF: 01200000000000F0H000000A0000000 X-QQ-FEAT: 7YFKcddXagjLC6GCF1NV5mnE9MFfNs/EGGHPfD1gTieQNGujdXZZ0Jkuw2etl LUpkWnbjy+9J2g1lAxo5QfkUVef29HjY7/s2J5HO/4LN4bqIZ0yWDmJCRTIhZxK3KmVGhvh J26SDFzjMtQCdYUXsKsu/yZs1xzqvsbzozm6FwiZOabaSS2fiWKSVrGBoPNtzLEurx1xQjm hVLWT/034T/2rzS7+TDzNmzBpGBXunMQxls8NIDQC6iELV90W0D6xnVNGigYSBGVHh50PAH 88bXl7QKp4tvvmgKTKsu8WB1um9v8hf1IDWI1cNx73IuxStaNuY317s3xB25/auW8VG0oHw CeoK/kJfjfd6t8JBBaxKc/c2fRUqfQJ0YKnqpKb X-QQ-GoodBg: 0 X-BIZMAIL-ID: 1065572922743298104 From: Bin Meng To: Simon Glass , u-boot@lists.denx.de Cc: Heinrich Schuchardt , Marek Vasut , Masahiro Yamada , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Rasmus Villemoes , Stefan Roese Subject: [PATCH 12/18] console: Make stdio_print_current_devices() static Date: Sun, 23 Jul 2023 12:40:35 +0800 Message-Id: <20230723044041.1089804-13-bmeng@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230723044041.1089804-1-bmeng@tinylab.org> References: <20230723044041.1089804-1-bmeng@tinylab.org> 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 common/console.c Signed-off-by: Bin Meng --- common/console.c | 2 +- include/stdio_dev.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/common/console.c b/common/console.c index 71ad8efd6f..d0640ba05a 100644 --- a/common/console.c +++ b/common/console.c @@ -1010,7 +1010,7 @@ int console_init_f(void) return 0; } -void stdio_print_current_devices(void) +static void stdio_print_current_devices(void) { /* Print information */ puts("In: "); diff --git a/include/stdio_dev.h b/include/stdio_dev.h index 77bf8a8970..7f18102052 100644 --- a/include/stdio_dev.h +++ b/include/stdio_dev.h @@ -84,8 +84,6 @@ int stdio_init_tables(void); */ int stdio_add_devices(void); -void stdio_print_current_devices(void); - /** * stdio_deregister_dev() - deregister the device "devname". * -- 2.34.1