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 7a104e2de3fa77d189bf9ae010cda3f0ee0dd706..f11e6bb5b0363cd0afd3f10600431b361d8b1e83 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) {