This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 6940ca8677b4f5a1e56b855556cf0285f6a6cb3a
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Thu Oct 27 02:41:02 2022 +0800

    fs: Remove the duplication umount macro
    
    which is already defined in include/sys/mount.h
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 include/nuttx/fs/fs.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h
index e0293527fd..92e337b6b4 100644
--- a/include/nuttx/fs/fs.h
+++ b/include/nuttx/fs/fs.h
@@ -157,10 +157,6 @@
 #define CH_STAT_ATIME      (1 << 3)
 #define CH_STAT_MTIME      (1 << 4)
 
-/* nx_umount() is equivalent to nx_umount2() with flags = 0 */
-
-#define umount(t)       umount2(t,0)
-
 /****************************************************************************
  * Public Type Definitions
  ****************************************************************************/

Reply via email to