summaryrefslogtreecommitdiffstats
path: root/tools/virtio/linux
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-03-20 15:44:30 +1030
committerRusty Russell <rusty@rustcorp.com.au>2013-03-20 15:45:07 +1030
commitcf994e0afae97382c0aa3cbc395805605d07a6e9 (patch)
tree00f90eefa7fbc34c5fb4d06b107af16ce84a74ac /tools/virtio/linux
parent0b36f1adcb5adace6d45ca4d9a0f00860e60d012 (diff)
downloadlinux-cf994e0afae97382c0aa3cbc395805605d07a6e9.tar.gz
linux-cf994e0afae97382c0aa3cbc395805605d07a6e9.tar.bz2
linux-cf994e0afae97382c0aa3cbc395805605d07a6e9.zip
tools/virtio: remove virtqueue_add_buf() from tests.
Make the rest of the paths use virtqueue_add_sgs or add_outbuf. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools/virtio/linux')
-rw-r--r--tools/virtio/linux/virtio.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/virtio/linux/virtio.h b/tools/virtio/linux/virtio.h
index 6df181a6bcc6..cd801838156f 100644
--- a/tools/virtio/linux/virtio.h
+++ b/tools/virtio/linux/virtio.h
@@ -49,13 +49,6 @@ struct virtqueue {
const char *__MODULE_LICENSE_name = __MODULE_LICENSE_value
/* Interfaces exported by virtio_ring. */
-int virtqueue_add_buf(struct virtqueue *vq,
- struct scatterlist sg[],
- unsigned int out_num,
- unsigned int in_num,
- void *data,
- gfp_t gfp);
-
int virtqueue_add_sgs(struct virtqueue *vq,
struct scatterlist *sgs[],
unsigned int out_sgs,