From fcec314b097fc25a0f6bc5f5ea72fe1558f3e6ff Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sat, 11 Feb 2012 14:45:54 +0100 Subject: [PATCH] fs: remove unused function fsdev_get_mountpoint Signed-off-by: Sascha Hauer --- fs/fs.c | 5 ----- include/fs.h | 7 ------- 2 files changed, 12 deletions(-) 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