summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2025-06-17 03:18:36 +0300
committerMichael S. Tsirkin <mst@redhat.com>2025-08-01 16:11:08 +0300
commit569c392e191361cd05fba1fd87ed02ef0d130ef7 (patch)
treea4e4730f3c287cd7b56cc02729580c32a55fa99c /include/linux
parent69cd720a8a5e9ef0f05ce5dd8c9ea6e018245c82 (diff)
downloadlinux-569c392e191361cd05fba1fd87ed02ef0d130ef7.tar.xz
vhost: vringh: Remove unused iotlb functions
The functions: vringh_abandon_iotlb() vringh_notify_disable_iotlb() and vringh_notify_enable_iotlb() were added in 2020 by commit 9ad9c49cfe97 ("vringh: IOTLB support") but have remained unused. Remove them. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Simon Horman <horms@kernel.org> Message-Id: <20250617001838.114457-2-linux@treblig.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Eugenio Pérez <eperezma@redhat.com> Tested-by: Lei Yang <leiyang@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/vringh.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/vringh.h b/include/linux/vringh.h
index c3a8117dabe8..af8bd2695a7b 100644
--- a/include/linux/vringh.h
+++ b/include/linux/vringh.h
@@ -319,13 +319,8 @@ ssize_t vringh_iov_push_iotlb(struct vringh *vrh,
struct vringh_kiov *wiov,
const void *src, size_t len);
-void vringh_abandon_iotlb(struct vringh *vrh, unsigned int num);
-
int vringh_complete_iotlb(struct vringh *vrh, u16 head, u32 len);
-bool vringh_notify_enable_iotlb(struct vringh *vrh);
-void vringh_notify_disable_iotlb(struct vringh *vrh);
-
int vringh_need_notify_iotlb(struct vringh *vrh);
#endif /* CONFIG_VHOST_IOTLB */