OSDN Git Service

usb/ohci: Merge ohci_async_cancel_device() into ohci_child_detach()
authorBALATON Zoltan <balaton@eik.bme.hu>
Tue, 25 Jan 2022 13:33:20 +0000 (14:33 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 4 Mar 2022 08:34:21 +0000 (09:34 +0100)
commitb6b0c066f5750c3c977b647509f225ba06038b60
tree2411fd7989c7c318135821aa8046a9a6de91add1
parent37bf0654b8e6195e2255e7d5f737a66b0ef4d83f
usb/ohci: Merge ohci_async_cancel_device() into ohci_child_detach()

These two do the same and only used once so no need to have two
functions, simplify by merging them.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <5fc8ba0bbf55703014d22dd06ab2f9eabaf370bf.1643117600.git.balaton@eik.bme.hu>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ohci.c