HelenOS sources

device_remove      90 uspace/drv/bus/usb/usbdiag/main.c static errno_t device_remove(usb_device_t *dev)
device_remove     204 uspace/lib/usbhost/src/ddf_helpers.c static errno_t device_remove(ddf_fun_t *fun, unsigned port)
HelenOS homepage, sources at GitHub