Message ID | 20221101021706.26152-2-decui@microsoft.com (mailing list archive) |
---|---|
State | Accepted |
Commit | cf6ff0df0fd123493e57278a1bd4414a97511a34 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | vsock: remove an unused variable and fix infinite sleep | expand |
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;