summaryrefslogtreecommitdiffstats
path: root/libmount/src/context_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/context_mount.c')
-rw-r--r--libmount/src/context_mount.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
index 455ef2ef0..210f0f169 100644
--- a/libmount/src/context_mount.c
+++ b/libmount/src/context_mount.c
@@ -830,7 +830,6 @@ static int do_mount_by_pattern(struct libmnt_context *cxt, const char *pattern)
/*
* Apply pattern to /etc/filesystems and /proc/filesystems
*/
-
rc = mnt_get_filesystems(&filesystems, neg ? pattern : NULL);
if (rc)
return rc;