net_buf: buf: remove custom assertion logic
There is no need for a custom assert macro that is only used once, or
conditional compilation of the assert macro based on `__ASSERT_ON`. If
assertions are disabled the compiler should simply discard the code.
Signed-off-by:
Jordan Yates <jordan@embeint.com>
Loading
Please sign in to comment