The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.19 ------> commit 5720376e819e0208821e2624cf9e79c80ec7215a Author: Pavel Tikhomirov <ptikhomi...@virtuozzo.com> Date: Mon Mar 3 15:37:04 2025 +0800
vhost/vsock: remove unused variable i in VHOST_RESET_OWNER ioctl Fixes compilation warning: drivers/vhost/vsock.c: In function âvhost_vsock_reset_ownerâ: drivers/vhost/vsock.c:846:16: warning: unused variable âiâ [-Wunused-variable] 846 | size_t i; | ^ Fixes: ad35221ad1341 ("vhost/vsock: add VHOST_RESET_OWNER ioctl") Signed-off-by: Pavel Tikhomirov <ptikhomi...@virtuozzo.com> Feature: vhost-vsock: VHOST_RESET_OWNER ioctl --- drivers/vhost/vsock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c index 3654fa0fd584..36750e163052 100644 --- a/drivers/vhost/vsock.c +++ b/drivers/vhost/vsock.c @@ -843,7 +843,6 @@ static int vhost_vsock_reset_owner(struct vhost_vsock *vsock) { struct vhost_iotlb *umem; long err; - size_t i; mutex_lock(&vsock->dev.mutex); err = vhost_dev_check_owner(&vsock->dev);
_______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel