From: Dexuan Cui Date: Tue, 1 Nov 2022 02:17:05 +0000 (-0700) Subject: vsock: remove the unused 'wait' in vsock_connectible_recvmsg() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cf6ff0df0fd123493e57278a1bd4414a97511a34;p=linux.git vsock: remove the unused 'wait' in vsock_connectible_recvmsg() Remove the unused variable introduced by 19c1b90e1979. Fixes: 19c1b90e1979 ("af_vsock: separate receive data loop") Signed-off-by: Dexuan Cui Reviewed-by: Stefano Garzarella Signed-off-by: Paolo Abeni --- diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index ee418701cdee9..d258fd43092ef 100644 --- a/net/vmw_vsock/af_vsock.c +++ b/net/vmw_vsock/af_vsock.c @@ -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;