Willy,

and a last one cleaning up the old proxy_tbl_by_name function so that the
bug will be gone for good.

Best regards
Tim Duesterhus

Apply with `git am --scissors` to automatically cut the commit message.
-- >8 --
Subject: [PATCH 4/4] CLEANUP: proxy: Remove `proxy_tbl_by_name`

It is no longer required as of 1b8e68e89aadb2740d79034c217257a78e9747b9
and is no longer used when #306 is fixed.
---
 include/proto/proxy.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/proto/proxy.h b/include/proto/proxy.h
index 558718ba2..7f108b507 100644
--- a/include/proto/proxy.h
+++ b/include/proto/proxy.h
@@ -97,14 +97,6 @@ static inline struct proxy *proxy_be_by_name(const char 
*name)
        return proxy_find_by_name(name, PR_CAP_BE, 0);
 }
 
-/* Find the table having name <name>. The name may also start with a '#' to
- * reference a numeric id. NULL is returned if not found.
- */
-static inline struct proxy *proxy_tbl_by_name(const char *name)
-{
-       return proxy_find_by_name(name, 0, 1);
-}
-
 /* this function initializes all timeouts for proxy p */
 static inline void proxy_reset_timeouts(struct proxy *proxy)
 {
-- 
2.23.0


Reply via email to