[PATCH] m32r: remove check for CONFIG_IDC_AK4524

From: Paul Bolle
Date: Tue May 20 2014 - 04:03:58 EST


There's been a check for CONFIG_IDC_AK4524 and its MODULE variant in
m32r's code ever since it was added in v2.6.9. But there has never been
a Kconfig symbol IDC_AK4524. Remove this check.

Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
---
Untested.

arch/m32r/platforms/usrv/setup.c | 9 ---------
1 file changed, 9 deletions(-)

diff --git a/arch/m32r/platforms/usrv/setup.c b/arch/m32r/platforms/usrv/setup.c
index dcde0ec777f6..04af9c2a83d9 100644
--- a/arch/m32r/platforms/usrv/setup.c
+++ b/arch/m32r/platforms/usrv/setup.c
@@ -194,15 +194,6 @@ void __init init_IRQ(void)
disable_m32700ut_pld_irq(PLD_IRQ_UART1);
#endif /* CONFIG_SERIAL_8250 || CONFIG_SERIAL_8250_MODULE */

-#if defined(CONFIG_IDC_AK4524) || defined(CONFIG_IDC_AK4524_MODULE)
- /* INT#80: AK4524 IREQ on PLD */
- irq_set_chip_and_handler(PLD_IRQ_SNDINT, &m32700ut_pld_irq_type,
- handle_level_irq);
- pld_icu_data[irq2pldirq(PLD_IRQ_SNDINT)].icucr
- = PLD_ICUCR_ISMOD01; /* 'L' level sense */
- disable_m32700ut_pld_irq(PLD_IRQ_SNDINT);
-#endif /* CONFIG_IDC_AK4524 || CONFIG_IDC_AK4524_MODULE */
-
/*
* INT1# is used for UART, MMC, CF Controller in FPGA.
* We enable it here.
--
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/