projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142b814
)
mount: remove unused mount_is_auto and mount_is_automount
author
Tom Yan
<tom.ty89@gmail.com>
Wed, 9 Jan 2019 16:19:43 +0000
(
00:19
+0800)
committer
Tom Yan
<tom.ty89@gmail.com>
Thu, 14 Feb 2019 16:16:54 +0000
(
00:16
+0800)
src/core/mount.c
patch
|
blob
|
history
diff --git
a/src/core/mount.c
b/src/core/mount.c
index
7064fa1
..
8da818b
100644
(file)
--- a/
src/core/mount.c
+++ b/
src/core/mount.c
@@
-101,20
+101,6
@@
static bool mount_is_bind(const MountParameters *p) {
return false;
}
-static bool mount_is_auto(const MountParameters *p) {
- assert(p);
-
- return !fstab_test_option(p->options, "noauto\0");
-}
-
-static bool mount_is_automount(const MountParameters *p) {
- assert(p);
-
- return fstab_test_option(p->options,
- "comment=systemd.automount\0"
- "x-systemd.automount\0");
-}
-
static bool mount_is_bound_to_device(const Mount *m) {
const MountParameters *p;