summaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-07-22 08:09:23 +0400
committerDavid S. Miller <davem@davemloft.net>2010-07-22 08:09:23 +0400
commit4c3e5edf2f33546392fbd9beaae04e9bed7304ff (patch)
treeb1ea5d3b8c139ca9a9edf65cd3e7ac4606053ace /drivers/vhost
parent3f30fc1570626f11e8f3efe5ebd41fe96e847ed1 (diff)
downloadlinux-4c3e5edf2f33546392fbd9beaae04e9bed7304ff.tar.xz
vhost net: Fix warning.
Reported by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost')
-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) {