diff options
author | Dexuan Cui | 2022-10-31 19:17:05 -0700 |
---|---|---|
committer | Paolo Abeni | 2022-11-03 10:49:29 +0100 |
commit | cf6ff0df0fd123493e57278a1bd4414a97511a34 (patch) | |
tree | b5a90cb4ce3b356dae0fd4ca6724cceb7d901016 /net/vmw_vsock | |
parent | 768b3c745fe5789f2430bdab02f35a9ad1148d97 (diff) |
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 <decui@microsoft.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/vmw_vsock')
-rw-r--r-- | net/vmw_vsock/af_vsock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index ee418701cdee..d258fd43092e 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; |