From a79f0d7d266eeb124ca8a0394715fafd01fbd722 Mon Sep 17 00:00:00 2001 From: Thomas Stokes Date: Wed, 1 Jan 2025 22:38:54 +0800 Subject: [PATCH] remove debug logs --- arch/wasm/kernel/early_printk.c | 1 - drivers/tty/tty_io.c | 1 - kernel/printk/printk.c | 1 - tools/wasm/src/init2.cpio | Bin 3274 -> 3066 bytes 4 files changed, 3 deletions(-) diff --git a/arch/wasm/kernel/early_printk.c b/arch/wasm/kernel/early_printk.c index 11ee3059444973..c355655786a861 100644 --- a/arch/wasm/kernel/early_printk.c +++ b/arch/wasm/kernel/early_printk.c @@ -12,7 +12,6 @@ static void early_console_write(struct console *con, const char *s, static int early_console_exit(struct console *con) { - wasm_kernel_boot_console_write("closing early console\n", 22); wasm_kernel_boot_console_close(); return 0; } diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index b81ea6cc3a96f6..35d30a4aff841b 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -1927,7 +1927,6 @@ static struct tty_driver *tty_lookup_driver(dev_t device, struct file *filp, #endif case MKDEV(TTYAUX_MAJOR, 1): { struct tty_driver *console_driver = console_device(index); - pr_info("got console %p\n", console_driver); if (console_driver) { driver = tty_driver_kref_get(console_driver); if (driver && filp) { diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 3f3b869a437dc4..5a88134fba79fa 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -3006,7 +3006,6 @@ struct tty_driver *console_device(int *index) console_lock(); for_each_console(c) { - pr_info("console %s[%i] -> %p", c->name, c->index, c->device); if (!c->device) continue; driver = c->device(c, index); diff --git a/tools/wasm/src/init2.cpio b/tools/wasm/src/init2.cpio index 2c961ce7483d08495f84c2b1bc1fa604a3f10d5b..9c3f30e7b6900949b6aa1ad0fcffb62e81e9d5fb 100644 GIT binary patch literal 3066 zcmVYGsl% zaXwAbrU*rXGAIgU0MMVdj+``Y(`jcs?Jbw))JzY~rRlAg9CFD_KZn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