summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_memory_int.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_memory_int.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 'src/nxt_port_memory_int.h')
-rw-r--r--src/nxt_port_memory_int.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nxt_port_memory_int.h b/src/nxt_port_memory_int.h
index d2524ee4..c84615d5 100644
--- a/src/nxt_port_memory_int.h
+++ b/src/nxt_port_memory_int.h
@@ -84,13 +84,6 @@ struct nxt_port_mmap_msg_s {
};
-typedef struct nxt_port_mmap_tracking_msg_s nxt_port_mmap_tracking_msg_t;
-
-struct nxt_port_mmap_tracking_msg_s {
- uint32_t mmap_id; /* Mmap index in nxt_process_t.outgoing. */
- nxt_chunk_id_t tracking_id; /* Tracking index. */
-};
-
nxt_inline nxt_bool_t
nxt_port_mmap_get_free_chunk(nxt_free_map_t *m, nxt_chunk_id_t *c);