]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6c2bd1efd2cc3b9dcbeb35827f444183275ee82
treea5b939d0eea7adb6c907d5bbe354eb93b5487cb2
parent83c1e3a4bb6b6516b42ef77c2621fca311a03c48
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