This patch optimizes the irq data paths and cleans up the code. Signed-Off-By: Ayaz Abdulla