Message ID | 20200704144943.18292-7-f4bug@amsat.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | hw/usb: Give it love, reduce 'hw/usb.h' inclusion out of hw/usb/ | expand |
On Sat, Jul 4, 2020 at 7:53 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote: > > "qemu/error-report.h" and "qemu/main-loop.h" are not used. > Remove them. > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Alistair > --- > hw/usb/hcd-dwc2.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/hw/usb/hcd-dwc2.c b/hw/usb/hcd-dwc2.c > index 72cbd051f3..590e75b455 100644 > --- a/hw/usb/hcd-dwc2.c > +++ b/hw/usb/hcd-dwc2.c > @@ -39,8 +39,6 @@ > #include "migration/vmstate.h" > #include "trace.h" > #include "qemu/log.h" > -#include "qemu/error-report.h" > -#include "qemu/main-loop.h" > #include "hw/qdev-properties.h" > > #define USB_HZ_FS 12000000 > -- > 2.21.3 > >
On Sat, Jul 4, 2020 at 7:50 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote: > "qemu/error-report.h" and "qemu/main-loop.h" are not used. > Remove them. > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > hw/usb/hcd-dwc2.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/hw/usb/hcd-dwc2.c b/hw/usb/hcd-dwc2.c > index 72cbd051f3..590e75b455 100644 > --- a/hw/usb/hcd-dwc2.c > +++ b/hw/usb/hcd-dwc2.c > @@ -39,8 +39,6 @@ > #include "migration/vmstate.h" > #include "trace.h" > #include "qemu/log.h" > -#include "qemu/error-report.h" > -#include "qemu/main-loop.h" > #include "hw/qdev-properties.h" > > #define USB_HZ_FS 12000000 > -- > 2.21.3 > > Reviewed-by: Paul Zimmerman <pauldzim@gmail.com>
diff --git a/hw/usb/hcd-dwc2.c b/hw/usb/hcd-dwc2.c index 72cbd051f3..590e75b455 100644 --- a/hw/usb/hcd-dwc2.c +++ b/hw/usb/hcd-dwc2.c @@ -39,8 +39,6 @@ #include "migration/vmstate.h" #include "trace.h" #include "qemu/log.h" -#include "qemu/error-report.h" -#include "qemu/main-loop.h" #include "hw/qdev-properties.h" #define USB_HZ_FS 12000000
"qemu/error-report.h" and "qemu/main-loop.h" are not used. Remove them. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- hw/usb/hcd-dwc2.c | 2 -- 1 file changed, 2 deletions(-)