diff --git a/fs/fs.c b/fs/fs.c index d65a41fc6..7175e331f 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -195,11 +195,6 @@ found: return e; } -const char *fsdev_get_mountpoint(struct fs_device_d *fsdev) -{ - return fsdev->mtab.path; -} - static FILE files[MAX_FILES]; static FILE *get_file(void) diff --git a/include/fs.h b/include/fs.h index f1a193163..8daa1bcbc 100644 --- a/include/fs.h +++ b/include/fs.h @@ -145,13 +145,6 @@ int ls(const char *path, ulong flags); char *mkmodestr(unsigned long mode, char *str); -/* - * Information about mounted devices. - * Note that we only support mounting on directories lying - * directly in / and of course the root directory itself - */ -const char *fsdev_get_mountpoint(struct fs_device_d *fsdev); - /* * Read a file into memory. Memory is allocated with malloc and must * be freed with free() afterwards. This function allocates one