summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_statfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/fs_statfs.c')
-rw-r--r--nuttx/fs/fs_statfs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nuttx/fs/fs_statfs.c b/nuttx/fs/fs_statfs.c
index 515723ed6..fbafe0bf5 100644
--- a/nuttx/fs/fs_statfs.c
+++ b/nuttx/fs/fs_statfs.c
@@ -54,8 +54,6 @@
* Private Functions
****************************************************************************/
-#if CONFIG_NFILE_DESCRIPTORS > 0
-
/****************************************************************************
* Name: statpsuedo
****************************************************************************/
@@ -125,7 +123,7 @@ int statfs(const char *path, struct statfs *buf)
* are dealing with.
*/
-#ifndef CONFIG_DISABLE_MOUNTPOUNT
+#ifndef CONFIG_DISABLE_MOUNTPOINT
if (INODE_IS_MOUNTPT(inode))
{
/* The node is a file system mointpoint. Verify that the mountpoint
@@ -168,5 +166,3 @@ int statfs(const char *path, struct statfs *buf)
*get_errno_ptr() = ret;
return ERROR;
}
-
-#endif /* CONFIG_NFILE_DESCRIPTORS */