]> xenbits.xensource.com Git - people/larsk/xen.git/commit
libxl: Inline do_usbdev_remove into libxl__device_usbdev_remove
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 7 May 2019 16:18:56 +0000 (17:18 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:42:42 +0000 (10:42 +0100)
commitb0c7c647c508e45c56390323a49fc36a8e0b201c
treec814e9f67d5c88416012493e87e3190f91390629
parent6c49070c330e2c1a8de75f442ef958f1f7f291bc
libxl: Inline do_usbdev_remove into libxl__device_usbdev_remove

Having the function do_usbdev_remove makes it harder to add asynchronous
calls into it. Move its body back into libxl__device_usbdev_remove and
adjust the latter as there are no reason to have a separated function.

No functional changes.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_usb.c