[fix] delete useless code.
@@ -92,10 +92,6 @@ void sys_arch_assert(const char* file, int line);
#define LWIP_PLATFORM_DIAG(x) do {rt_kprintf x;} while(0)
#define LWIP_PLATFORM_ASSERT(x) do {rt_kprintf(x); sys_arch_assert(__FILE__, __LINE__);}while(0)
-//#define SYS_ARCH_DECL_PROTECT(level)
-//#define SYS_ARCH_PROTECT(level) rt_enter_critical()
-//#define SYS_ARCH_UNPROTECT(level) rt_exit_critical()
-
#define SYS_ARCH_DECL_PROTECT(level) register rt_base_t level
#define SYS_ARCH_PROTECT(level) do {level = rt_hw_interrupt_disable();} while(0)
#define SYS_ARCH_UNPROTECT(level) do {rt_hw_interrupt_enable(level);} while(0)
