remove code irq_piq functions