aboutsummaryrefslogtreecommitdiff
path: root/lib/libvirtio/virtio.code
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2019-11-06 14:56:12 +1100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2019-11-11 15:22:32 +1100
commit73dea09dae61ea78364b6761f891023c990957fa (patch)
treed8ad06e20e872dec4243089df3f964dd4b3b14cd /lib/libvirtio/virtio.code
parent10c1e52deea07e0ef2bc04578aa37c1568954074 (diff)
downloadSLOF-73dea09dae61ea78364b6761f891023c990957fa.zip
SLOF-73dea09dae61ea78364b6761f891023c990957fa.tar.gz
SLOF-73dea09dae61ea78364b6761f891023c990957fa.tar.bz2
virtio: Make virtio_set_qaddr static
It is never called outside of virtio, make it static. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libvirtio/virtio.code')
-rw-r--r--lib/libvirtio/virtio.code8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libvirtio/virtio.code b/lib/libvirtio/virtio.code
index d52a47d..db3ed60 100644
--- a/lib/libvirtio/virtio.code
+++ b/lib/libvirtio/virtio.code
@@ -42,14 +42,6 @@ PRIM(virtio_X2d_get_X2d_config)
TOS.u = virtio_get_config(TOS.a, offset, size);
MIRP
-// : virtio-set-qaddr ( dev queue qaddr -- )
-PRIM(virtio_X2d_set_X2d_qaddr)
- unsigned int qaddr = TOS.u; POP;
- int queue = TOS.u; POP;
- void *dev = TOS.a; POP;
- virtio_set_qaddr(dev, queue, qaddr);
-MIRP
-
/******** virtio-blk ********/
// : virtio-blk-init ( dev -- blk-size)