sh: Kill off unused SH-5 irq_describe cruft.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -142,21 +142,6 @@ int cayman_irq_demux(int evt)
|
||||
return irq;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_PROC_FS) && defined(CONFIG_SYSCTL)
|
||||
int cayman_irq_describe(char* p, int irq)
|
||||
{
|
||||
if (irq < NR_INTC_IRQS) {
|
||||
return intc_irq_describe(p, irq);
|
||||
} else if (irq < NR_INTC_IRQS + 8) {
|
||||
return sprintf(p, "(SMSC %d)", irq - NR_INTC_IRQS);
|
||||
} else if ((irq >= NR_INTC_IRQS + 24) && (irq < NR_INTC_IRQS + 32)) {
|
||||
return sprintf(p, "(PCI2 %d)", irq - (NR_INTC_IRQS + 24));
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void init_cayman_irq(void)
|
||||
{
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user