summaryrefslogtreecommitdiff
path: root/drivers/vhost/vhost.c
diff options
context:
space:
mode:
authorLiming Wu <liming.wu@jaguarmicro.com>2023-01-10 05:44:45 +0300
committerMichael S. Tsirkin <mst@redhat.com>2023-02-21 03:26:58 +0300
commit759aba1e6e7d238d9d37decd8ad1ecc84ebb02b0 (patch)
treed2b73cdc3faa4d594c118aa71e74d9dcc7601ffe /drivers/vhost/vhost.c
parent62b763ad765319b1e2261aeef5e5fcbd821883bd (diff)
downloadlinux-759aba1e6e7d238d9d37decd8ad1ecc84ebb02b0.tar.xz
vhost: remove unused paramete
"enabled" is defined in vhost_init_device_iotlb, but it is never used. Let's remove it. Signed-off-by: Liming Wu <liming.wu@jaguarmicro.com> Message-Id: <20230110024445.303-1-liming.wu@jaguarmicro.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Eugenio PĂ©rez <eperezma@redhat.com>
Diffstat (limited to 'drivers/vhost/vhost.c')
-rw-r--r--drivers/vhost/vhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 43c9770b86e5..f11bdbe4c2c5 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -1730,7 +1730,7 @@ long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *arg
}
EXPORT_SYMBOL_GPL(vhost_vring_ioctl);
-int vhost_init_device_iotlb(struct vhost_dev *d, bool enabled)
+int vhost_init_device_iotlb(struct vhost_dev *d)
{
struct vhost_iotlb *niotlb, *oiotlb;
int i;