summaryrefslogtreecommitdiffstats
path: root/net/vmw_vsock
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2013-06-20 17:20:32 +0800
committerDavid S. Miller <davem@davemloft.net>2013-06-23 23:51:48 -0700
commit0fc932467688e1c81fc109a93f323cef4993dc24 (patch)
treee6912254b683dfb5ad7734e0ecea17358ad93de3 /net/vmw_vsock
parentdce1a2877778fee172ab74411fcabd77bceb8e12 (diff)
downloadlinux-0fc932467688e1c81fc109a93f323cef4993dc24.tar.gz
linux-0fc932467688e1c81fc109a93f323cef4993dc24.tar.bz2
linux-0fc932467688e1c81fc109a93f323cef4993dc24.zip
VSOCK: Remove unnecessary label
Signed-off-by: Asias He <asias@redhat.com> Acked-by: Andy King <acking@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock')
-rw-r--r--net/vmw_vsock/vmci_transport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/vmw_vsock/vmci_transport.c b/net/vmw_vsock/vmci_transport.c
index 99b511ddb4cb..ffc11df02af2 100644
--- a/net/vmw_vsock/vmci_transport.c
+++ b/net/vmw_vsock/vmci_transport.c
@@ -940,10 +940,9 @@ static void vmci_transport_recv_pkt_work(struct work_struct *work)
* reset to prevent that.
*/
vmci_transport_send_reset(sk, pkt);
- goto out;
+ break;
}
-out:
release_sock(sk);
kfree(recv_pkt_info);
/* Release reference obtained in the stream callback when we fetched