summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/net.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-07-22 06:09:23 +0200
committerDavid S. Miller <davem@davemloft.net>2010-07-22 06:09:23 +0200
commit4c3e5edf2f33546392fbd9beaae04e9bed7304ff (patch)
treeb1ea5d3b8c139ca9a9edf65cd3e7ac4606053ace /drivers/vhost/net.c
parentnet: remove last uses of __attribute__((packed)) (diff)
downloadlinux-4c3e5edf2f33546392fbd9beaae04e9bed7304ff.tar.xz
linux-4c3e5edf2f33546392fbd9beaae04e9bed7304ff.zip
vhost net: Fix warning.
Reported by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-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) {