This is an automated email from the ASF dual-hosted git repository.
vipulrahane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 64d9c8b sys/config: commit for each all fcbs only once (#1679)
64d9c8b is described below
commit 64d9c8b7aed68da2f3463a28ebe15ad3e1caffef
Author: Vipul Rahane <[email protected]>
AuthorDate: Thu Mar 7 11:46:56 2019 -0800
sys/config: commit for each all fcbs only once (#1679)
---
sys/config/src/config_store.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sys/config/src/config_store.c b/sys/config/src/config_store.c
index 16438a3..68597eb 100644
--- a/sys/config/src/config_store.c
+++ b/sys/config/src/config_store.c
@@ -91,9 +91,6 @@ conf_load_one(char *name)
conf_loading = true;
SLIST_FOREACH(cs, &conf_load_srcs, cs_next) {
cs->cs_itf->csi_load(cs, conf_load_cb, name);
- if (SLIST_NEXT(cs, cs_next)) {
- conf_commit(name);
- }
}
conf_loading = false;
conf_unlock();