diff options
author | Max Romanov <max.romanov@nginx.com> | 2022-06-07 13:59:45 +0800 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2022-06-07 13:59:45 +0800 |
commit | b4540f0960a54908a6bca9c2bd091c239ae76a53 (patch) | |
tree | 88876a81f5c4b01f09ffe452e90a169c1f100c54 /src/nxt_port_memory.h | |
parent | df421e36b368c9595e8adedc078b69f3f0c2466b (diff) | |
download | unit-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_memory.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/nxt_port_memory.h b/src/nxt_port_memory.h index a2cdf5dd..f1e70964 100644 --- a/src/nxt_port_memory.h +++ b/src/nxt_port_memory.h @@ -15,27 +15,6 @@ typedef struct nxt_port_mmap_handler_s nxt_port_mmap_handler_t; void nxt_port_mmaps_destroy(nxt_port_mmaps_t *port_mmaps, nxt_bool_t free_elts); -typedef struct nxt_port_mmap_tracking_s nxt_port_mmap_tracking_t; - -struct nxt_port_mmap_tracking_s { - void *mmap_handler; - nxt_atomic_t *tracking; -}; - -nxt_int_t -nxt_port_mmap_get_tracking(nxt_task_t *task, nxt_port_mmaps_t *mmaps, - nxt_port_mmap_tracking_t *tracking, uint32_t stream); - -nxt_bool_t -nxt_port_mmap_tracking_cancel(nxt_task_t *task, - nxt_port_mmap_tracking_t *tracking, uint32_t stream); - -nxt_int_t -nxt_port_mmap_tracking_write(uint32_t *buf, nxt_port_mmap_tracking_t *t); - -nxt_bool_t -nxt_port_mmap_tracking_read(nxt_task_t *task, nxt_port_recv_msg_t *msg); - /* * Allocates nxt_but_t structure from task's thread engine mem_pool, assigns * this buf 'mem' pointers to first available shared mem bucket(s). 'size' |