[PATCH 06/12] fs: remove unused function fsdev_get_mountpoint

Sascha Hauer s.hauer at pengutronix.de
Wed Feb 15 03:22:39 EST 2012


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 fs/fs.c      |    5 -----
 include/fs.h |    7 -------
 2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/fs/fs.c b/fs/fs.c
index d65a41f..7175e33 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 f1a1931..8daa1bc 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -146,13 +146,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
  * byte more than actually needed and sets this to zero, so that
-- 
1.7.9




More information about the barebox mailing list