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

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