From 17a8e61fdec48d579df3bc5af59a9cff5edee674 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 8 Feb 2023 16:12:54 +0100 Subject: [PATCH] porting: Remove unused SYSINIT_PANIC_MSG Those are no longer used. --- porting/npl/linux/include/nimble/nimble_npl_os.h | 2 -- porting/npl/nuttx/include/nimble/nimble_npl_os.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/porting/npl/linux/include/nimble/nimble_npl_os.h b/porting/npl/linux/include/nimble/nimble_npl_os.h index 17e61b22a..d171fc048 100644 --- a/porting/npl/linux/include/nimble/nimble_npl_os.h +++ b/porting/npl/linux/include/nimble/nimble_npl_os.h @@ -35,8 +35,6 @@ extern "C" { #define BLE_NPL_TIME_FOREVER INT32_MAX -#define SYSINIT_PANIC_MSG(msg) __assert_fail(msg, __FILE__, __LINE__, __func__) - #ifdef __cplusplus } #endif diff --git a/porting/npl/nuttx/include/nimble/nimble_npl_os.h b/porting/npl/nuttx/include/nimble/nimble_npl_os.h index a2fcbc42e..8a41d411d 100644 --- a/porting/npl/nuttx/include/nimble/nimble_npl_os.h +++ b/porting/npl/nuttx/include/nimble/nimble_npl_os.h @@ -35,8 +35,6 @@ extern "C" { #define BLE_NPL_TIME_FOREVER INT32_MAX -#define SYSINIT_PANIC_MSG(msg) { fprintf(stderr, "%s\n", msg); abort(); } - #ifdef __cplusplus } #endif