You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/12/06 15:03:24 UTC
[incubator-nuttx] 05/18: fs/spiffs/src/spiffs_core.c: Don't assume
finfo() is a macro
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 97b86d58488115613b71f8275b586845e11999b5
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Sat Nov 21 11:33:47 2020 +0900
fs/spiffs/src/spiffs_core.c: Don't assume finfo() is a macro
---
fs/spiffs/src/spiffs_core.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/spiffs/src/spiffs_core.c b/fs/spiffs/src/spiffs_core.c
index 374eae0..c8ed78e 100644
--- a/fs/spiffs/src/spiffs_core.c
+++ b/fs/spiffs/src/spiffs_core.c
@@ -1523,12 +1523,10 @@ void spiffs_fobj_event(FAR struct spiffs_s *fs,
int ev, int16_t objid_raw, int16_t spndx,
int16_t new_pgndx, uint32_t new_size)
{
-#ifdef CONFIG_DEBUG_FS_INFO
FAR static const char *evname[] =
{
"UPD", "NEW", "DEL", "MOV", "HUP", "???"
};
-#endif
FAR struct spiffs_file_s *fobj;
FAR struct spiffs_file_s *next;