Blame SOURCES/autofs-5.1.4-remove-unused-function-dump_master.patch

beb904
autofs-5.1.4 - remove unused function dump_master()
beb904
beb904
From: Ian Kent <raven@themaw.net>
beb904
beb904
Signed-off-by: Ian Kent <raven@themaw.net>
beb904
---
beb904
 CHANGELOG    |    1 +
beb904
 lib/master.c |   11 -----------
beb904
 2 files changed, 1 insertion(+), 11 deletions(-)
beb904
beb904
--- autofs-5.1.4.orig/CHANGELOG
beb904
+++ autofs-5.1.4/CHANGELOG
beb904
@@ -112,6 +112,7 @@ xx/xx/2018 autofs-5.1.5
beb904
 - dont prune offset map entries.
beb904
 - simplify sss source stale check.
beb904
 - use defines for expire type.
beb904
+- remove unused function dump_master().
beb904
 
beb904
 19/12/2017 autofs-5.1.4
beb904
 - fix spec file url.
beb904
--- autofs-5.1.4.orig/lib/master.c
beb904
+++ autofs-5.1.4/lib/master.c
beb904
@@ -1971,14 +1971,3 @@ int master_kill(struct master *master)
beb904
 
beb904
 	return 1;
beb904
 }
beb904
-
beb904
-void dump_master(struct master *master)
beb904
-{
beb904
-	struct list_head *p, *head;
beb904
-
beb904
-	head = &master->mounts;
beb904
-	list_for_each(p, head) {
beb904
-		struct master_mapent *this = list_entry(p, struct master_mapent, list);
beb904
-		logmsg("path %s", this->path);
beb904
-	}
beb904
-}