]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: applet: Remove unsued rule pointer in appctx structure
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Apr 2025 14:19:11 +0000 (16:19 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Apr 2025 14:22:31 +0000 (16:22 +0200)
Thanks to previous commits, the "rule" field in the appctx structure is no
longer used. So we can safely remove it.

include/haproxy/applet-t.h

index c0a5db3b8538008412d2415d1f18c752e2645654..9c0eac9e3a7414a949150e7f88aed4046dd9d2a7 100644 (file)
@@ -127,7 +127,6 @@ struct appctx {
                                                              if the command is terminated or the session released */
        } cli_ctx; /* context dedicated to the CLI applet */
 
-       struct act_rule *rule;     /* rule associated with the applet. */
        struct buffer_wait buffer_wait; /* position in the list of objects waiting for a buffer */
        struct task *t;                  /* task associated to the applet */
        struct freq_ctr call_rate;       /* appctx call rate */