iohandler: remove unused #define and inline functions related to IO
delay