summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2022-06-07 13:59:45 +0800
committerMax Romanov <max.romanov@nginx.com>2022-06-07 13:59:45 +0800
commitb4540f0960a54908a6bca9c2bd091c239ae76a53 (patch)
tree88876a81f5c4b01f09ffe452e90a169c1f100c54 /src/nxt_port.h
parentdf421e36b368c9595e8adedc078b69f3f0c2466b (diff)
downloadunit-b4540f0960a54908a6bca9c2bd091c239ae76a53.tar.gz
unit-b4540f0960a54908a6bca9c2bd091c239ae76a53.tar.bz2
Removing unused tracking fields and functions.
The message tracking is unused since 1d84b9e4b459 commit. This fixes the issue found by Coverity (CID 376263).
Diffstat (limited to '')
-rw-r--r--src/nxt_port.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nxt_port.h b/src/nxt_port.h
index 3b66edfd..6b4d3c8f 100644
--- a/src/nxt_port.h
+++ b/src/nxt_port.h
@@ -174,9 +174,6 @@ typedef struct {
/* More Fragments followed. */
uint8_t mf; /* 1 bit */
-
- /* Message delivery tracking enabled, next chunk is tracking msg. */
- uint8_t tracking; /* 1 bit */
} nxt_port_msg_t;
@@ -186,7 +183,6 @@ typedef struct {
size_t share;
nxt_fd_t fd[2];
nxt_port_msg_t port_msg;
- uint32_t tracking_msg[2];
uint8_t close_fd; /* 1 bit */
uint8_t allocated; /* 1 bit */
} nxt_port_send_msg_t;