Re: [PATCH v3 2/3] hw/usb/hcd-ehci: Make get_dwords() return bool
Philippe Mathieu-Daudé <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
On 17/8/26 07:53, Jamin Lin wrote: > get_dwords() returns the number of dwords it read, but every caller only > tests it for failure and none of them uses the count. Return a plain > bool instead, which matches how the function is actually used. > > Suggested-by: Philippe Mathieu-Daudé <[email protected]> > Signed-off-by: Jamin Lin <[email protected]> > --- > hw/usb/hcd-ehci.c | 44 ++++++++++++++++++++++---------------------- > 1 file changed, 22 insertions(+), 22 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <[email protected]>