eg: usbterm: clean up code