aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2023-03-08 10:00:59 +0800
committerIan Kent <raven@themaw.net>2023-03-25 10:55:33 +0800
commit6b9bb24cb8fd8172d7afec1a0bf94cd7dbfc4413 (patch)
treecff5618e2eba4fbfc12ed22bc8e5a9b0bbe6b6d0 /modules
parent16ea4156471e614a36983ad679abbed4cd026880 (diff)
downloadautofs-6b9bb24cb8fd8172d7afec1a0bf94cd7dbfc4413.tar.gz
autofs-5.1.8 - get rid of unused field submnt_count
The autofs mount point struct field submnt_count is present but not used, remove it. Signed-off-by: Ian Kent <raven@themaw.net>
Diffstat (limited to 'modules')
-rw-r--r--modules/mount_autofs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/mount_autofs.c b/modules/mount_autofs.c
index b2233573..9967d466 100644
--- a/modules/mount_autofs.c
+++ b/modules/mount_autofs.c
@@ -379,8 +379,6 @@ int mount_mount(struct autofs_point *ap, const char *root, const char *name,
}
nap->thid = thid;
- ap->submnt_count++;
-
handle_mounts_startup_cond_destroy(&suc);
return 0;