summaryrefslogtreecommitdiff
path: root/src/kernel/ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/ring.c')
-rw-r--r--src/kernel/ring.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/kernel/ring.c b/src/kernel/ring.c
index 2cb6961..e69de29 100644
--- a/src/kernel/ring.c
+++ b/src/kernel/ring.c
@@ -1,9 +0,0 @@
-#include <kernel/mem/virt.h>
-#include <kernel/ring.h>
-
-size_t ring_to_virt(ring_t *r, Proc *proc, void __user *ubuf, size_t max) {
- char tmp[32];
- if (max > sizeof tmp) max = sizeof tmp;
- max = ring_get(r, tmp, max);
- return pcpy_to(proc, ubuf, tmp, max);
-}