nshlib:  Remove a dangling function that is no longer used after last mount/df chagnes
#include "nsh.h"
#include "nsh_console.h"
-/****************************************************************************
- * Pre-processor Definitions
- ****************************************************************************/
-
-/****************************************************************************
- * Private Types
- ****************************************************************************/
-
-/****************************************************************************
- * Private Function Prototypes
- ****************************************************************************/
-
-/****************************************************************************
- * Private Data
- ****************************************************************************/
-
-/****************************************************************************
- * Public Data
- ****************************************************************************/
-
-/****************************************************************************
- * Private Functions
- ****************************************************************************/
-
-/****************************************************************************
- * Name: get_fstype
- ****************************************************************************/
-
-#if CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT) && \
- defined(CONFIG_FS_READABLE) && !defined(CONFIG_NSH_DISABLE_MOUNT)
-static const char* get_fstype(FAR struct statfs *statbuf)
-{
- FAR const char *fstype;
-
- /* Get the file system type */
-
- switch (statbuf->f_type)
- {
-#ifdef CONFIG_FS_FAT
- case MSDOS_SUPER_MAGIC:
- fstype = "vfat";
- break;
-#endif
-
-#ifdef CONFIG_FS_ROMFS
- case ROMFS_MAGIC:
- fstype = "romfs";
- break;
-#endif
-
-#ifdef CONFIG_FS_TMPFS
- case TMPFS_MAGIC:
- fstype = "tmpfs";
- break;
-#endif
-
-#ifdef CONFIG_FS_BINFS
- case BINFS_MAGIC:
- fstype = "binfs";
- break;
-#endif
-
-#ifdef CONFIG_FS_NXFFS
- case NXFFS_MAGIC:
- fstype = "nxffs";
- break;
-#endif
-
-#ifdef CONFIG_NFS
- case NFS_SUPER_MAGIC:
- fstype = "nfs";
- break;
-#endif
-
-#ifdef CONFIG_FS_SMARTFS
- case SMARTFS_MAGIC:
- fstype = "smartfs";
- break;
-#endif
-
-#ifdef CONFIG_FS_PROCFS
- case PROCFS_MAGIC:
- fstype = "procfs";
- break;
-#endif
-
-#ifdef CONFIG_FS_UNIONFS
- case UNIONFS_MAGIC:
- fstype = "unionfs";
- break;
-#endif
-
-#ifdef CONFIG_FS_HOSTFS
- case HOSTFS_MAGIC:
- fstype = "hostfs";
- break;
-#endif
-
- default:
- fstype = "Unrecognized";
- break;
- }
-
- return fstype;
-}
-#endif
-
/****************************************************************************
* Public Functions
****************************************************************************/
