From: David S. Miller Date: Thu, 22 Jul 2010 04:09:23 +0000 (-0700) Subject: vhost net: Fix warning. X-Git-Tag: firefly_0821_release~9833^2~1306^2~141 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4c3e5edf2f33546392fbd9beaae04e9bed7304ff;p=firefly-linux-kernel-4.4.55.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) {