From 6c95319289fb529929d54f4af01fd399639d52bd Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 18 Oct 2007 14:51:46 +0000 Subject: [PATCH] Remove always true asserts. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@905 38d2e660-2303-0410-9eaa-f027e97ec537 --- cpu/arm/drv/sysirq_at91.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cpu/arm/drv/sysirq_at91.c b/cpu/arm/drv/sysirq_at91.c index e95d5a15..4beaf361 100644 --- a/cpu/arm/drv/sysirq_at91.c +++ b/cpu/arm/drv/sysirq_at91.c @@ -144,7 +144,6 @@ void sysirq_init(void) */ void sysirq_setHandler(sysirq_t irq, sysirq_handler_t handler) { - ASSERT(irq >= 0); ASSERT(irq < SYSIRQ_CNT); sysirq_tab[irq].handler = handler; } @@ -154,7 +153,6 @@ void sysirq_setHandler(sysirq_t irq, sysirq_handler_t handler) */ void sysirq_setEnable(sysirq_t irq, bool enable) { - ASSERT(irq >= 0); ASSERT(irq < SYSIRQ_CNT); sysirq_tab[irq].setEnable(enable); @@ -166,7 +164,6 @@ void sysirq_setEnable(sysirq_t irq, bool enable) */ bool sysirq_enabled(sysirq_t irq) { - ASSERT(irq >= 0); ASSERT(irq < SYSIRQ_CNT); return sysirq_tab[irq].enabled; -- 2.25.1