diff options
author | David S. Miller <davem@davemloft.net> | 2010-07-22 00:09:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-22 00:09:23 -0400 |
commit | 4c3e5edf2f33546392fbd9beaae04e9bed7304ff (patch) | |
tree | b1ea5d3b8c139ca9a9edf65cd3e7ac4606053ace /drivers | |
parent | 3f30fc1570626f11e8f3efe5ebd41fe96e847ed1 (diff) |
vhost net: Fix warning.
Reported by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/vhost/net.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 7a104e2de3fa..f11e6bb5b036 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c | |||
@@ -533,7 +533,6 @@ static long vhost_net_set_backend(struct vhost_net *n, unsigned index, int fd) | |||
533 | vhost_net_enable_vq(n, vq); | 533 | vhost_net_enable_vq(n, vq); |
534 | } | 534 | } |
535 | 535 | ||
536 | done: | ||
537 | mutex_unlock(&vq->mutex); | 536 | mutex_unlock(&vq->mutex); |
538 | 537 | ||
539 | if (oldsock) { | 538 | if (oldsock) { |