From: Tim Duesterhus Date: Sun, 29 Sep 2019 21:09:54 +0000 (+0200) Subject: CLEANUP: proxy: Remove `proxy_tbl_by_name` X-Git-Tag: v2.1-dev2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07626eafa264173696899571c9a4e0c4bed297bf;p=thirdparty%2Fhaproxy.git CLEANUP: proxy: Remove `proxy_tbl_by_name` It is no longer required as of 1b8e68e89aadb2740d79034c217257a78e9747b9 and is no longer used when #306 is fixed. --- diff --git a/include/proto/proxy.h b/include/proto/proxy.h index 558718ba23..7f108b5073 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 . 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) {