libc/lib_assert.c: Remove the re-definition of abort()

This should now be irrelevant, as abort() is forwarded to _exit() instead.
This commit is contained in:
Ville Juven 2023-02-21 16:45:14 +02:00 committed by Xiang Xiao
parent 07039b8a36
commit f8d3032732

View File

@ -27,16 +27,6 @@
#include <assert.h>
#include <stdlib.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/* If assert() is called from kernel, must not call user API abort */
#ifdef __KERNEL__
# define abort PANIC
#endif
/****************************************************************************
* Public Functions
****************************************************************************/