You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2023/02/21 16:12:49 UTC

[mynewt-nimble] branch master updated: porting: Remove unused SYSINIT_PANIC_MSG

This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 17a8e61f porting: Remove unused SYSINIT_PANIC_MSG
17a8e61f is described below

commit 17a8e61fdec48d579df3bc5af59a9cff5edee674
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Wed Feb 8 16:12:54 2023 +0100

    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 17e61b22..d171fc04 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 a2fcbc42..8a41d411 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