Commit 4c3e5edf authored by David S. Miller's avatar David S. Miller

vhost net: Fix warning.

Reported by Stephen Rothwell.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3f30fc15
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment