vhost net: Fix warning.
authorDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2010 04:09:23 +0000 (21:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2010 04:09:23 +0000 (21:09 -0700)
Reported by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/net.c

index 7a104e2..f11e6bb 100644 (file)
@@ -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) {