diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-03-20 01:14:30 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-03-20 01:15:07 -0400 |
commit | cf994e0afae97382c0aa3cbc395805605d07a6e9 (patch) | |
tree | 00f90eefa7fbc34c5fb4d06b107af16ce84a74ac /tools/virtio/linux | |
parent | 0b36f1adcb5adace6d45ca4d9a0f00860e60d012 (diff) |
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.h | 7 |
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 { | |||
49 | const char *__MODULE_LICENSE_name = __MODULE_LICENSE_value | 49 | const char *__MODULE_LICENSE_name = __MODULE_LICENSE_value |
50 | 50 | ||
51 | /* Interfaces exported by virtio_ring. */ | 51 | /* Interfaces exported by virtio_ring. */ |
52 | int virtqueue_add_buf(struct virtqueue *vq, | ||
53 | struct scatterlist sg[], | ||
54 | unsigned int out_num, | ||
55 | unsigned int in_num, | ||
56 | void *data, | ||
57 | gfp_t gfp); | ||
58 | |||
59 | int virtqueue_add_sgs(struct virtqueue *vq, | 52 | int virtqueue_add_sgs(struct virtqueue *vq, |
60 | struct scatterlist *sgs[], | 53 | struct scatterlist *sgs[], |
61 | unsigned int out_sgs, | 54 | unsigned int out_sgs, |