[RFC][PATCH 2/8] Removal of dead code from arch/blackfin/kernel/ipipe.c

From: N.P.S.
Date: Fri Oct 22 2010 - 14:24:34 EST


commit 80cbf2ee3a33740641929f23bf9a7d264a2986b4
Author: N.P.S <napohybelskurwysynom2010@xxxxxxxxx>
Date: Thu Oct 21 23:57:05 2010 +0200

Removal of dead code from
arch/blackfin/kernel/ipipe.c

Signed-off-by: Zimny Lech <napohybelskurwysynom2010@xxxxxxxxx>
CC: Li Yi <yi.li@xxxxxxxxxx>
CC: <uclinux-dist-devel@xxxxxxxxxxxxxxxxxxxx>
CC: <linux-kernel@xxxxxxxxxxxxxxx>

diff --git a/arch/blackfin/kernel/ipipe.c b/arch/blackfin/kernel/ipipe.c
index 1a496cd..8941cca 100644
--- a/arch/blackfin/kernel/ipipe.c
+++ b/arch/blackfin/kernel/ipipe.c
@@ -272,13 +272,6 @@ int ipipe_trigger_irq(unsigned irq)
{
unsigned long flags;

-#ifdef CONFIG_IPIPE_DEBUG
- if (irq >= IPIPE_NR_IRQS ||
- (ipipe_virtual_irq_p(irq)
- && !test_bit(irq - IPIPE_VIRQ_BASE, &__ipipe_virtual_irq_map)))
- return -EINVAL;
-#endif
-
local_irq_save_hw(flags);
__ipipe_handle_irq(irq, NULL);
local_irq_restore_hw(flags);
--
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/