diff --git a/nshlib/nsh.h b/nshlib/nsh.h index 06e80ccf2..e21950241 100644 --- a/nshlib/nsh.h +++ b/nshlib/nsh.h @@ -67,18 +67,8 @@ * pseudo-filesystem are not disabled. */ -#undef NSH_HAVE_WRITABLE_MOUNTPOINT -#if !defined(CONFIG_DISABLE_MOUNTPOINT) && CONFIG_NFILE_STREAMS > 0 -# define NSH_HAVE_WRITABLE_MOUNTPOINT 1 -#endif - -#undef NSH_HAVE_PSEUDOFS_OPERATIONS -#if !defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS) && CONFIG_NFILE_STREAMS > 0 -# define NSH_HAVE_PSEUDOFS_OPERATIONS 1 -#endif - #undef NSH_HAVE_DIROPTS -#if defined(NSH_HAVE_WRITABLE_MOUNTPOINT) || defined(NSH_HAVE_PSEUDOFS_OPERATIONS) +#if !defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS) # define NSH_HAVE_DIROPTS 1 #endif