Frank Buss e80facfd06 remove unused code to improve speed
The RT_ASSERT(obj != object) line is only compiled for debug mode.
But the rt_enter/exit_critical causes the compiler not to optimize
at least these 2 calls, even if it could optimize out the whole loop,
because the rt_list_entry function has no side effect, and RT_ASSET
is a no-operation in release mode. So this patch fixes this:
- no warnings anymore
- better speed in release mode
2022-10-08 22:37:41 -04:00
..
2022-08-29 15:35:23 -04:00
2022-04-20 14:22:43 +08:00
2022-08-25 10:11:35 +08:00
2022-10-08 22:37:41 -04:00
2022-08-02 12:09:49 -04:00