diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c
index 04d8ee787f781bd7b8a2eec6b9884c84e4c22335..1ba00c15505be5617111c5b6877ef02ca5c63a22 100644
--- a/arch/mips/kernel/rtlx.c
+++ b/arch/mips/kernel/rtlx.c
@@ -56,8 +56,6 @@ static struct chan_waitqueues {
 	struct mutex mutex;
 } channel_wqs[RTLX_CHANNELS];
 
-static struct irqaction irq;
-static int irq_num;
 static struct vpe_notifications notify;
 static int sp_stopping = 0;