From: David S. Miller Date: Thu, 22 Jul 2010 04:09:23 +0000 (-0700) Subject: vhost net: Fix warning. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c3e5edf2f33546392fbd9beaae04e9bed7304ff;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git vhost net: Fix warning. Reported by Stephen Rothwell. Signed-off-by: David S. Miller --- 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) {