]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: stick-table: remove a leftover of an old keyword declaration
authorWilly Tarreau <w@1wt.eu>
Wed, 12 May 2021 15:49:10 +0000 (17:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 May 2021 15:50:16 +0000 (17:50 +0200)
There was a leftover of an antique declaration commented out that has
now been superseded by new ones, let's remove it.

src/stick_table.c

index 51aaef3d6e117dc170759f0cefa5f2dc122d3d4d..0255cd2762abfd1ce1e5bc46188f0cc16817b798 100644 (file)
@@ -4161,14 +4161,6 @@ static struct action_kw_list http_res_kws = { { }, {
 
 INITCALL1(STG_REGISTER, http_res_keywords_register, &http_res_kws);
 
-///* Note: must not be declared <const> as its list will be overwritten.
-// * Please take care of keeping this list alphabetically sorted.
-// */
-//static struct sample_fetch_kw_list smp_fetch_keywords = {ILH, {
-//     { "table_avl",          smp_fetch_table_avl,         ARG1(1,TAB),      NULL, SMP_T_SINT, SMP_USE_INTRN, },
-//     { "table_cnt",          smp_fetch_table_cnt,         ARG1(1,TAB),      NULL, SMP_T_SINT, SMP_USE_INTRN, },
-//     { /* END */ },
-//}};
 /* Note: must not be declared <const> as its list will be overwritten.
  * Please take care of keeping this list alphabetically sorted.
  */