summaryrefslogtreecommitdiff
path: root/include/linux/virtio.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-05-20 12:15:44 +0930
committerRusty Russell <rusty@rustcorp.com.au>2013-05-20 12:16:01 +0930
commitb3087e48ce20be784fae1dbabc2e42e2ad0f21bc (patch)
tree06c57b68ed84803a4ac46892671fe4e398a81708 /include/linux/virtio.h
parent6865b32a865c76bfa02be383b52041b942cb232b (diff)
downloadlwn-b3087e48ce20be784fae1dbabc2e42e2ad0f21bc.tar.gz
lwn-b3087e48ce20be784fae1dbabc2e42e2ad0f21bc.zip
virtio: remove virtqueue_add_buf().
All users changed to virtqueue_add_sg() or virtqueue_add_outbuf/inbuf. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/virtio.h')
-rw-r--r--include/linux/virtio.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/virtio.h b/include/linux/virtio.h
index 9ff8645b7e0b..e94c75ded111 100644
--- a/include/linux/virtio.h
+++ b/include/linux/virtio.h
@@ -34,13 +34,6 @@ struct virtqueue {
void *priv;
};
-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_outbuf(struct virtqueue *vq,
struct scatterlist sg[], unsigned int num,
void *data,