diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-06-06 10:39:11 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-06-06 10:39:11 -0400 |
commit | afe76217f98b2fcb6d6e80bd732ba221c9bf7ae4 (patch) | |
tree | c906a9c99044aab15255d58798a1c570848cfa9a /src/libudev/path-util.c | |
parent | 6f8f3edfe8dd70e24105d889f664ff033eb0555e (diff) |
Round 4 of remove unused functions from src/libudev/{hashmap,log,set,util}.c
We removed the following functions:
hashmap_merge
path_is_read_only_fs
set_free_free
set_free_freep
readlink_malloc
hexchar
unhexchar
octchar
unoctchar
format_timespan
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/path-util.c')
-rw-r--r-- | src/libudev/path-util.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libudev/path-util.c b/src/libudev/path-util.c index b702b94218..fd67310474 100644 --- a/src/libudev/path-util.c +++ b/src/libudev/path-util.c @@ -331,14 +331,3 @@ fallback: return a.st_dev != b.st_dev; } - -int path_is_read_only_fs(const char *path) { - struct statvfs st; - - assert(path); - - if (statvfs(path, &st) < 0) - return -errno; - - return !!(st.f_flag & ST_RDONLY); -} |