diff options
author | David S. Miller <davem@davemloft.net> | 2010-07-22 08:09:23 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-22 08:09:23 +0400 |
commit | 4c3e5edf2f33546392fbd9beaae04e9bed7304ff (patch) | |
tree | b1ea5d3b8c139ca9a9edf65cd3e7ac4606053ace | |
parent | 3f30fc1570626f11e8f3efe5ebd41fe96e847ed1 (diff) | |
download | linux-4c3e5edf2f33546392fbd9beaae04e9bed7304ff.tar.xz |
vhost net: Fix warning.
Reported by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
-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) vhost_net_enable_vq(n, vq); } -done: mutex_unlock(&vq->mutex); if (oldsock) { |