Remove unused usb functions after changing usb mode