Skip to content

Commit

Permalink
vhost net: Fix warning.
Browse files Browse the repository at this point in the history
Reported by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 22, 2010
1 parent 3f30fc1 commit 4c3e5ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/vhost/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4c3e5ed

Please sign in to comment.