Browse Source

sh: Kill off dead ipr_irq_demux().

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 17 năm trước cách đây
mục cha
commit
b2078fa221
1 tập tin đã thay đổi với 0 bổ sung9 xóa
  1. 0 9
      arch/sh/kernel/cpu/irq/ipr.c

+ 0 - 9
arch/sh/kernel/cpu/irq/ipr.c

@@ -49,7 +49,6 @@ static void enable_ipr_irq(unsigned int irq)
  * bits/4. This is to make it easier to read the value directly from the
  * datasheets. The IPR address is calculated using the ipr_offset table.
  */
-
 void register_ipr_controller(struct ipr_desc *desc)
 {
 	int i;
@@ -71,12 +70,4 @@ void register_ipr_controller(struct ipr_desc *desc)
 		disable_ipr_irq(p->irq);
 	}
 }
-
 EXPORT_SYMBOL(register_ipr_controller);
-
-#if !defined(CONFIG_CPU_HAS_PINT_IRQ)
-int ipr_irq_demux(int irq)
-{
-	return irq;
-}
-#endif