This is an automated email from the ASF dual-hosted git repository. marko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 87208eb3955fb3713ecc295b90f7adf884439253 Author: Marko Kiiskila <ma...@apache.org> AuthorDate: Mon Sep 2 12:25:04 2019 +0300 fs/fcb2; do {} while(1) -> while(1) {} --- fs/fcb2/src/fcb_getprev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/fcb2/src/fcb_getprev.c b/fs/fcb2/src/fcb_getprev.c index 6cdbe33..e98c86c 100644 --- a/fs/fcb2/src/fcb_getprev.c +++ b/fs/fcb2/src/fcb_getprev.c @@ -71,7 +71,7 @@ fcb_getprev(struct fcb *fcb, struct fcb_entry *loc) */ *loc = fcb->f_active; } - do { + while (1) { loc->fe_entry_num--; if (loc->fe_entry_num < 1) { /* @@ -96,7 +96,7 @@ fcb_getprev(struct fcb *fcb, struct fcb_entry *loc) break; } } - } while (1); + } os_mutex_release(&fcb->f_mtx); return rc; }