From d4d4fd88e01987fd766681342742609c2d3dd0c3 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Thu, 11 Jun 2020 09:55:24 +0200 Subject: [PATCH] porting: rm store_ram_init from nimble_port_run() The ble_store_ram module is (i) deprecated and (ii) nowhere used in the NimBLE code base, hence there is no need to intialize it. --- porting/nimble/src/nimble_port.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c index ff350a890..1bad96ddf 100644 --- a/porting/nimble/src/nimble_port.c +++ b/porting/nimble/src/nimble_port.c @@ -32,7 +32,7 @@ void nimble_port_init(void) { void os_msys_init(void); - void ble_store_ram_init(void); + #if NIMBLE_CFG_CONTROLLER void ble_hci_ram_init(void); #endif @@ -44,9 +44,6 @@ nimble_port_init(void) ble_hs_init(); - /* XXX Need to have template for store */ - ble_store_ram_init(); - #if NIMBLE_CFG_CONTROLLER hal_timer_init(5, NULL); os_cputime_init(32768);