summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/fs_write.c')
-rw-r--r--nuttx/fs/fs_write.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nuttx/fs/fs_write.c b/nuttx/fs/fs_write.c
index cebb49e60..60a6b8290 100644
--- a/nuttx/fs/fs_write.c
+++ b/nuttx/fs/fs_write.c
@@ -53,8 +53,6 @@
* Global Functions
************************************************************/
-#if CONFIG_NFILE_DESCRIPTORS > 0
-
int write(int fd, const void *buf, unsigned int nbytes)
{
FAR struct filelist *list;
@@ -94,5 +92,3 @@ int write(int fd, const void *buf, unsigned int nbytes)
return ret;
}
-#endif /* CONFIG_NFILE_DESCRIPTORS */
-