diff options
Diffstat (limited to 'src/kernel/arch/amd64/driver/ps2.c')
-rw-r--r-- | src/kernel/arch/amd64/driver/ps2.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/kernel/arch/amd64/driver/ps2.c b/src/kernel/arch/amd64/driver/ps2.c index 1ddd27a..35165d9 100644 --- a/src/kernel/arch/amd64/driver/ps2.c +++ b/src/kernel/arch/amd64/driver/ps2.c @@ -16,11 +16,10 @@ static volatile uint8_t mouse_buf[64]; static volatile ring_t mouse_backlog = {(void*)mouse_buf, sizeof mouse_buf, 0, 0}; static void accept(struct vfs_request *req); -static bool is_ready(struct vfs_backend *self); static struct vfs_request *kb_queue = NULL; static struct vfs_request *mouse_queue = NULL; -static struct vfs_backend backend = BACKEND_KERN(is_ready, accept); +static struct vfs_backend backend = BACKEND_KERN(accept); static void wait_out(void) { uint8_t status; @@ -139,7 +138,3 @@ static void accept(struct vfs_request *req) { break; } } - -static bool is_ready(struct vfs_backend __attribute__((unused)) *self) { - return true; -} |