]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: applet: remove the now unused appctx->private field
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Dec 2016 14:58:39 +0000 (15:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 14 Dec 2016 15:48:16 +0000 (16:48 +0100)
Nobody uses it anymore. This shrinks the appctx size by 8 bytes.

include/types/applet.h

index e7703b95499db379c7953c758c47a0a307653e64..29f6f5c26c26afbc66f14d2c92ec5c2220e9b8e9 100644 (file)
@@ -58,7 +58,6 @@ struct appctx {
        int (*io_handler)(struct appctx *appctx);  /* used within the cli_io_handler when st0 = CLI_ST_CALLBACK */
        void (*io_release)(struct appctx *appctx);  /* used within the cli_io_handler when st0 = CLI_ST_CALLBACK,
                                                       if the command is terminated or the session released */
-       void *private;
        struct buffer_wait buffer_wait; /* position in the list of objects waiting for a buffer */
 
        union {