diff options
Diffstat (limited to 'src/kernel/arch/amd64/driver/serial.c')
-rw-r--r-- | src/kernel/arch/amd64/driver/serial.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/kernel/arch/amd64/driver/serial.c b/src/kernel/arch/amd64/driver/serial.c index 921e140..b3bfe29 100644 --- a/src/kernel/arch/amd64/driver/serial.c +++ b/src/kernel/arch/amd64/driver/serial.c @@ -12,10 +12,9 @@ static volatile ring_t backlog = {(void*)backlog_buf, sizeof backlog_buf, 0, 0}; static const int COM1 = 0x3f8; static void accept(struct vfs_request *req); -static bool is_ready(struct vfs_backend *self); static struct vfs_request *blocked_on = NULL; -static struct vfs_backend backend = BACKEND_KERN(is_ready, accept); +static struct vfs_backend backend = BACKEND_KERN(accept); void serial_init(void) { vfs_mount_root_register("/com1", &backend); } @@ -103,7 +102,3 @@ static void accept(struct vfs_request *req) { break; } } - -static bool is_ready(struct vfs_backend __attribute__((unused)) *self) { - return true; -} |