vhost net: Fix warning.

Reported by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2010-07-21 21:09:23 -07:00
parent 3f30fc1570
commit 4c3e5edf2f

View 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) {