diff options
author | Dexuan Cui <decui@microsoft.com> | 2022-11-01 05:17:05 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-11-03 12:49:29 +0300 |
commit | cf6ff0df0fd123493e57278a1bd4414a97511a34 (patch) | |
tree | b5a90cb4ce3b356dae0fd4ca6724cceb7d901016 /net/vmw_vsock | |
parent | 768b3c745fe5789f2430bdab02f35a9ad1148d97 (diff) | |
download | linux-cf6ff0df0fd123493e57278a1bd4414a97511a34.tar.xz |
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; |