浏览代码

[MIPS] rtlx: Fix build error.

  CC      arch/mips/kernel/rtlx.o
cc1: warnings being treated as errors
arch/mips/kernel/rtlx.c:59: warning: 'irq' defined but not used
arch/mips/kernel/rtlx.c:60: warning: 'irq_num' defined but not used

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 17 年之前
父节点
当前提交
4d24c8f955
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      arch/mips/kernel/rtlx.c

+ 0 - 2
arch/mips/kernel/rtlx.c

@@ -56,8 +56,6 @@ static struct chan_waitqueues {
 	struct mutex mutex;
 	struct mutex mutex;
 } channel_wqs[RTLX_CHANNELS];
 } channel_wqs[RTLX_CHANNELS];
 
 
-static struct irqaction irq;
-static int irq_num;
 static struct vpe_notifications notify;
 static struct vpe_notifications notify;
 static int sp_stopping = 0;
 static int sp_stopping = 0;