vhost: vringh: Remove unused functions
authorDr. David Alan Gilbert <linux@treblig.org>
Tue, 17 Jun 2025 00:18:37 +0000 (01:18 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Aug 2025 13:11:08 +0000 (09:11 -0400)
commit6e9ef6937c726b97d4a6d49332d06e999acc15f5
treecc9747902158c4e849ed1278e4eb9925b9e146bf
parent569c392e191361cd05fba1fd87ed02ef0d130ef7
vhost: vringh: Remove unused functions

The functions:
  vringh_abandon_kern()
  vringh_abandon_user()
  vringh_iov_pull_kern() and
  vringh_iov_push_kern()
were all added in 2013 by
commit f87d0fbb5798 ("vringh: host-side implementation of virtio rings.")
but have remained unused.

Remove them and the two helper functions they used.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Message-Id: <20250617001838.114457-3-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>
Reviewed-by: Simon Horman <horms@kernel.org>
drivers/vhost/vringh.c
include/linux/vringh.h