fs: remove unused function fsdev_get_mountpoint
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
ec1d29e61c
commit
fcec314b09
5
fs/fs.c
5
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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue