Skip to content

Commit

Permalink
remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tombl committed Jan 1, 2025
1 parent 7049d9f commit a79f0d7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion arch/wasm/kernel/early_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
1 change: 0 additions & 1 deletion drivers/tty/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion kernel/printk/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Binary file modified tools/wasm/src/init2.cpio
Binary file not shown.

0 comments on commit a79f0d7

Please sign in to comment.