Re: [Qemu-devel] [PATCH 1/2] hw/scsi/vmw_pvscsi: Remove the dead error handling

2017-08-01 Thread Paolo Bonzini
On 26/07/2017 10:41, Mao Zhongyi wrote: > 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. > > Cc: Dmitry Fleytman > Cc: Paolo Bonzini > Cc: Markus Armbruster > Signed-off-by: Mao Zhongyi > --- > hw/s

Re: [Qemu-devel] [PATCH 1/2] hw/scsi/vmw_pvscsi: Remove the dead error handling

2017-07-26 Thread Dmitry Fleytman
> On 26 Jul 2017, at 11:41 AM, Mao Zhongyi wrote: > > 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. > Acked-by: Dmitry Fleytman mailto:dmi...@daynix.com>> > Cc: Dmitry Fleytman > Cc: Paolo Bonzin

[Qemu-devel] [PATCH 1/2] hw/scsi/vmw_pvscsi: Remove the dead error handling

2017-07-26 Thread Mao Zhongyi
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. Cc: Dmitry Fleytman Cc: Paolo Bonzini Cc: Markus Armbruster Signed-off-by: Mao Zhongyi --- hw/scsi/vmw_pvscsi.c | 4 1 file changed, 4 deletions(-) d