]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mount: remove unused mount_is_auto and mount_is_automount 11373/head
authorTom Yan <tom.ty89@gmail.com>
Wed, 9 Jan 2019 16:19:43 +0000 (00:19 +0800)
committerTom Yan <tom.ty89@gmail.com>
Thu, 14 Feb 2019 16:16:54 +0000 (00:16 +0800)
src/core/mount.c

index 7064fa1439df5a3f29db161e97963d4626a88e67..8da818beeee685b8991a55f4621165ac1f1cc6c6 100644 (file)
@@ -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;