Re: [Qemu-devel] [REPOST] sysbus: Remove ignored return value of FindSysbusDeviceFunc

2016-09-21 Thread Eduardo Habkost
On Wed, Sep 21, 2016 at 03:23:53PM +1000, David Gibson wrote: > Functions of type FindSysbusDeviceFunc currently return an integer. > However, this return value is always ignored by the caller in > find_sysbus_device(). > > This changes the function type to return void, to avoid confusion over >

[Qemu-devel] [REPOST] sysbus: Remove ignored return value of FindSysbusDeviceFunc

2016-09-20 Thread David Gibson
Functions of type FindSysbusDeviceFunc currently return an integer. However, this return value is always ignored by the caller in find_sysbus_device(). This changes the function type to return void, to avoid confusion over the function semantics. Signed-off-by: David Gibson