summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/tty/tty.c
diff options
context:
space:
mode:
authordzwdz2022-04-07 21:25:54 +0200
committerdzwdz2022-04-07 21:25:54 +0200
commit86623b76dce72bc611f470e0e9ecad963fd558b2 (patch)
treee9f1204a3761e4389e4b51276c7d359957f4fb86 /src/kernel/arch/i386/tty/tty.c
parentda2bbef4e4f586ecf13cd5ffe9a62df3114a3483 (diff)
kernel: remove the `/tty` device
Diffstat (limited to 'src/kernel/arch/i386/tty/tty.c')
-rw-r--r--src/kernel/arch/i386/tty/tty.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kernel/arch/i386/tty/tty.c b/src/kernel/arch/i386/tty/tty.c
index ab15aba..fa3ce72 100644
--- a/src/kernel/arch/i386/tty/tty.c
+++ b/src/kernel/arch/i386/tty/tty.c
@@ -11,10 +11,6 @@ void tty_init(void) {
serial_write("<3 ", 3);
}
-void tty_read(char *buf, size_t len) {
- serial_read(buf, len);
-}
-
void tty_write(const char *buf, size_t len) {
vga_write(buf, len);
serial_write(buf, len);