[master] ff01007e4 GC unused function

Federico G. Schwindt fgsch at lodoss.net
Sat Apr 20 16:43:07 UTC 2019


commit ff01007e4427ffc7e70cbd73fe370bc3d2ad842f
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sat Apr 20 16:42:23 2019 +0100

    GC unused function

diff --git a/lib/libvmod_directors/shard_dir.h b/lib/libvmod_directors/shard_dir.h
index 44a109b70..29373d0fe 100644
--- a/lib/libvmod_directors/shard_dir.h
+++ b/lib/libvmod_directors/shard_dir.h
@@ -97,14 +97,6 @@ sharddir_backend(const struct sharddir *shardd, int id)
 	return (shardd->backend[id].backend);
 }
 
-static inline const char *
-sharddir_backend_ident(const struct sharddir *shardd, int host)
-{
-	assert(host >= 0);
-	assert(host < shardd->n_backend);
-	return (shardd->backend[host].ident);
-}
-
 #define SHDBG(flag, shardd, ...)					\
 	do {								\
 		if ((shardd)->debug_flags & (flag))			\


More information about the varnish-commit mailing list