vhost: remove the dead branch
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Fri, 6 Dec 2013 20:13:03 +0000 (04:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Dec 2013 20:22:05 +0000 (15:22 -0500)
commit59566b6e8cc8f8a05022e0f01a1b90974003f092
treea5b939d0eea7adb6c907d5bbe354eb93b5487cb2
parent941c22532f40dafa1320adbbc3776e7971bc0764
vhost: remove the dead branch

Since vhost_dev_init() forever return 0, some branches are never run,
therefore need to be removed.

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/net.c
drivers/vhost/scsi.c
drivers/vhost/test.c
drivers/vhost/vhost.c
drivers/vhost/vhost.h