Message ID | 20230723044041.1089804-13-bmeng@tinylab.org |
---|---|
State | Accepted |
Commit | 75bfc6fac5918eba48ddfe608f0a1c6a89d47168 |
Delegated to: | Andes |
Headers | show |
Series | video: bochs: Remove the x86 limitation | expand |
On Sat, 22 Jul 2023 at 22:42, Bin Meng <bmeng@tinylab.org> wrote: > > As it is only called in common/console.c > > Signed-off-by: Bin Meng <bmeng@tinylab.org> > --- > > common/console.c | 2 +- > include/stdio_dev.h | 2 -- > 2 files changed, 1 insertion(+), 3 deletions(-) > Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> # qemu-x86_64
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". *
As it is only called in common/console.c Signed-off-by: Bin Meng <bmeng@tinylab.org> --- common/console.c | 2 +- include/stdio_dev.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)