hw/scsi/vmw_pvscsi: Remove the dead error handling
commitdfaea0c1a8482c5410917f91a9e2b88d4954b69e
authorMao Zhongyi <maozy.fnst@cn.fujitsu.com>
Wed, 26 Jul 2017 08:41:52 +0000 (26 16:41 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Aug 2017 15:27:33 +0000 (1 17:27 +0200)
tree5f988598ec27d8d1dbdce1f46f77d525500fd5c7
parent1931076077254a2886daa7c830c7838ebd1f81ef
hw/scsi/vmw_pvscsi: Remove the dead error handling

qemu_bh_new() is a wrapper around aio_bh_new(), which returns
null only when g_new() does. It doesn't. So remove the dead
error handling.

Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Message-Id: <20170726084153.10121-1-maozy.fnst@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/vmw_pvscsi.c