summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/net.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-07-21 21:09:23 -0700
committerDavid S. Miller <davem@davemloft.net>2010-07-21 21:09:23 -0700
commit4c3e5edf2f33546392fbd9beaae04e9bed7304ff (patch)
treeb1ea5d3b8c139ca9a9edf65cd3e7ac4606053ace /drivers/vhost/net.c
parent3f30fc1570626f11e8f3efe5ebd41fe96e847ed1 (diff)
downloadblackbird-op-linux-4c3e5edf2f33546392fbd9beaae04e9bed7304ff.tar.gz
blackbird-op-linux-4c3e5edf2f33546392fbd9beaae04e9bed7304ff.zip
vhost net: Fix warning.
Reported by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r--drivers/vhost/net.c1
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)
vhost_net_enable_vq(n, vq);
}
-done:
mutex_unlock(&vq->mutex);
if (oldsock) {
OpenPOWER on IntegriCloud