hw/usb/ohci: Move a function next to where it is used
commitef680088f7727dfdc2778ddfab77d60bc5f36c46
authorBALATON Zoltan <balaton@eik.bme.hu>
Mon, 20 Feb 2023 18:15:07 +0000 (20 19:15 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (27 22:29 +0100)
treec62fd4bd996d676411140d54db8fd5e1fbc96ef7
parent1e58e7a0d0ede9d7ca2c001f18bdf2cd0059f244
hw/usb/ohci: Move a function next to where it is used

The ohci_port_set_if_connected() function is only used by
ohci_port_set_status(), move next to it to have them at the same place.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <46411d4980ab0fba61ab0d2209a939fdc41eb573.1676916640.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/usb/hcd-ohci.c