summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rtthread.h')
-rw-r--r--include/rtthread.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/rtthread.h b/include/rtthread.h
index 696f117de0..34dde706e6 100644
--- a/include/rtthread.h
+++ b/include/rtthread.h
@@ -836,12 +836,6 @@ do \
__FUNCTION__); \
RT_ASSERT(0) \
} \
- if (interrupt_disabled == RT_TRUE) \
- { \
- rt_kprintf("Function[%s]: interrupt is disabled\n", \
- __FUNCTION__); \
- RT_ASSERT(0) \
- } \
RT_DEBUG_IN_THREAD_CONTEXT; \
} \
} \