Simplify code of irq_handler.