]> xenbits.xensource.com Git - people/larsk/xen.git/commit
libxl: Inline do_usbdev_add into libxl__device_usbdev_add
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 18 Apr 2019 11:10:30 +0000 (12:10 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:42:42 +0000 (10:42 +0100)
commit6c49070c330e2c1a8de75f442ef958f1f7f291bc
tree79f359036e6949162d22230b5ce31f0499906252
parent78c85fa8cfab3815556961e74b9092f41e339583
libxl: Inline do_usbdev_add into libxl__device_usbdev_add

Having the function do_usbdev_add makes it harder to add asynchronous
calls into it. Move its body back into libxl__device_usbdev_add 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