aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/vhost/vsock.c
diff options
context:
space:
mode:
authorLiming Wu <liming.wu@jaguarmicro.com>2023-01-10 10:44:45 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-02-20 19:26:58 -0500
commit759aba1e6e7d238d9d37decd8ad1ecc84ebb02b0 (patch)
treed2b73cdc3faa4d594c118aa71e74d9dcc7601ffe /drivers/vhost/vsock.c
parentvhost-test: remove meaningless debug info (diff)
downloadwireguard-linux-759aba1e6e7d238d9d37decd8ad1ecc84ebb02b0.tar.xz
wireguard-linux-759aba1e6e7d238d9d37decd8ad1ecc84ebb02b0.zip
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/vsock.c')
-rw-r--r--drivers/vhost/vsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c
index a2b374372363..1ffa36eb3efb 100644
--- a/drivers/vhost/vsock.c
+++ b/drivers/vhost/vsock.c
@@ -829,7 +829,7 @@ static int vhost_vsock_set_features(struct vhost_vsock *vsock, u64 features)
}
if ((features & (1ULL << VIRTIO_F_ACCESS_PLATFORM))) {
- if (vhost_init_device_iotlb(&vsock->dev, true))
+ if (vhost_init_device_iotlb(&vsock->dev))
goto err;
}