You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2019/10/21 09:30:32 UTC
[mynewt-core] 11/23: Removed un-necessary return check.
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 5f42e389029e0e8abfb6c425b16b2f99a325378b
Author: Nolan Lau <no...@juul.com>
AuthorDate: Thu Oct 17 13:34:14 2019 -0700
Removed un-necessary return check.
---
fs/fcb/src/fcb_getnext.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/fs/fcb/src/fcb_getnext.c b/fs/fcb/src/fcb_getnext.c
index 2a85597..f85c2f9 100644
--- a/fs/fcb/src/fcb_getnext.c
+++ b/fs/fcb/src/fcb_getnext.c
@@ -143,10 +143,6 @@ fcb_getnext_sector_nolock(struct fcb *fcb, struct fcb_entry *loc)
if (rc == 0) {
return 0;
}
-
- if (rc != FCB_ERR_CRC) {
- return FCB_ERR_NEXT_SECT;
- }
}
return FCB_ERR_NEXT_SECT;