summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver
diff options
context:
space:
mode:
authordzwdz2023-01-24 12:41:10 +0100
committerdzwdz2023-01-24 12:41:10 +0100
commit1e2f807b30cc94fc6dc9fcb24f3e1675fe147439 (patch)
tree414c5717f31279597a753e4633a36f3f11d1c60e /src/kernel/arch/amd64/driver
parenta2f9ae9d4ab678fa66a2ec5d1072ea22a36a18a1 (diff)
kern/driver/ps2: remove unused function
Diffstat (limited to 'src/kernel/arch/amd64/driver')
-rw-r--r--src/kernel/arch/amd64/driver/ps2.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/kernel/arch/amd64/driver/ps2.c b/src/kernel/arch/amd64/driver/ps2.c
index 51aabea..d0629e6 100644
--- a/src/kernel/arch/amd64/driver/ps2.c
+++ b/src/kernel/arch/amd64/driver/ps2.c
@@ -77,19 +77,6 @@ enum {
H_MOUSE,
};
-static void read_backlog(struct vfs_request *req, ring_t *r, struct vfs_request **queue) {
- if (ring_used(r) == 0) {
- postqueue_join(queue, req);
- } else if (req->caller) {
- int len = req->output.len;
- if (len < 0) len = 0;
- len = ring_to_virt(r, req->caller->pages, req->output.buf, len);
- vfsreq_finish_short(req, len);
- } else {
- vfsreq_finish_short(req, -1);
- }
-}
-
static void accept(struct vfs_request *req) {
// when you fix something here go also fix it in the COM1 driver
int ret;