FS_RAMMAP depends on FS_REFCOUNT and remove useless macro

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
zhangshoukui
2024-09-23 12:46:23 +08:00
committed by Xiang Xiao
parent 7e97691452
commit d68fab125e
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -6,6 +6,7 @@
config FS_RAMMAP
bool "File mapping emulation"
default n
depends on FS_REFCOUNT
---help---
NuttX operates in a flat open address space and is focused on MCUs that do
support Memory Management Units (MMUs). Therefore, NuttX generally does not
-4
View File
@@ -40,8 +40,6 @@
#include "fs_rammap.h"
#include "sched/sched.h"
#ifdef CONFIG_FS_RAMMAP
/****************************************************************************
* Public Data
****************************************************************************/
@@ -347,5 +345,3 @@ errout_with_region:
return ret;
}
#endif /* CONFIG_FS_RAMMAP */