summaryrefslogtreecommitdiff
path: root/src/core/mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-22 19:50:10 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-22 19:50:10 +0200
commit399c5f96331ad5281fdb75a7c0c66cc703f7eeb6 (patch)
tree1e309a3e8f49678efec61946c0c5411b5b6086c9 /src/core/mount.c
parentd360705f0f1262d49cccb6507abeafb7cfb5bbe0 (diff)
mount: drop unused function
Diffstat (limited to 'src/core/mount.c')
-rw-r--r--src/core/mount.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/core/mount.c b/src/core/mount.c
index e8f8856414..11ac692c6c 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -1451,27 +1451,6 @@ fail:
return r;
}
-static int mount_find_pri(char *options) {
- char *end, *pri;
- unsigned long r;
-
- if (!(pri = mount_test_option(options, "pri")))
- return 0;
-
- pri += 4;
-
- errno = 0;
- r = strtoul(pri, &end, 10);
-
- if (errno != 0)
- return -errno;
-
- if (end == pri || (*end != ',' && *end != 0))
- return -EINVAL;
-
- return (int) r;
-}
-
static int mount_load_proc_self_mountinfo(Manager *m, bool set_flags) {
int r = 0;
unsigned i;