]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: proxy: Remove `proxy_tbl_by_name`
authorTim Duesterhus <tim@bastelstu.be>
Sun, 29 Sep 2019 21:09:54 +0000 (23:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 30 Sep 2019 02:11:36 +0000 (04:11 +0200)
It is no longer required as of 1b8e68e89aadb2740d79034c217257a78e9747b9
and is no longer used when #306 is fixed.

include/proto/proxy.h

index 558718ba237ed6ac8eb2cd75be0efdfa65de064e..7f108b507370b400dfaa28e13aa3d61021d6e461 100644 (file)
@@ -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)
 {