vhost-net: minor cleanup
authorJeff Dike <jdike@addtoit.com>
Thu, 4 Mar 2010 21:10:14 +0000 (16:10 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 27 May 2010 09:25:37 +0000 (12:25 +0300)
commitdd1f4078f0d2de74a308f00a2dffbd550cfba59f
treed8a31277e7d37bc2fdda54abe0837bc829074c6f
parent373a83a6997bfdaf767f6a65fc5cc0054b246984
vhost-net: minor cleanup

Delete a label and goto from vhost_net_set_backend
Inverting a test allows a label and goto to be eliminated.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c