mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
FS_RAMMAP depends on FS_REFCOUNT and remove useless macro
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user