]> git.baikalelectronics.ru Git - kernel.git/commitdiff
vsock: remove the unused 'wait' in vsock_connectible_recvmsg()
authorDexuan Cui <decui@microsoft.com>
Tue, 1 Nov 2022 02:17:05 +0000 (19:17 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 3 Nov 2022 09:49:29 +0000 (10:49 +0100)
Remove the unused variable introduced by 14916a52bd80.

Fixes: 14916a52bd80 ("af_vsock: separate receive data loop")
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/vmw_vsock/af_vsock.c

index ee418701cdee902ee7fea08767f51be055b87ad6..d258fd43092ef0d301eadc51c7e0993a4593ae99 100644 (file)
@@ -2092,8 +2092,6 @@ vsock_connectible_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
        const struct vsock_transport *transport;
        int err;
 
-       DEFINE_WAIT(wait);
-
        sk = sock->sk;
        vsk = vsock_sk(sk);
        err = 0;