summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_memory.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-08-02 13:36:29 +0300
committerMax Romanov <max.romanov@nginx.com>2017-08-02 13:36:29 +0300
commitb150f07e801802124ca6f3b29b4b9f97aa68d52b (patch)
tree6dbf83af6b7e2787e0c918b0017765d074c70057 /src/nxt_port_memory.h
parentf23f985899760fafd853e993d9023b1339f09533 (diff)
downloadunit-b150f07e801802124ca6f3b29b4b9f97aa68d52b.tar.gz
unit-b150f07e801802124ca6f3b29b4b9f97aa68d52b.tar.bz2
Added basic port error handler.
Diffstat (limited to 'src/nxt_port_memory.h')
-rw-r--r--src/nxt_port_memory.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nxt_port_memory.h b/src/nxt_port_memory.h
index 38e17a50..0b64fa89 100644
--- a/src/nxt_port_memory.h
+++ b/src/nxt_port_memory.h
@@ -38,11 +38,6 @@ void
nxt_port_mmap_write(nxt_task_t *task, nxt_port_t *port,
nxt_port_send_msg_t *msg, nxt_sendbuf_coalesce_t *sb);
-nxt_inline void
-nxt_port_mmap_completion(nxt_task_t *task, nxt_work_queue_t *wq, nxt_buf_t *b) {
- nxt_work_queue_add(wq, b->completion_handler, task, b, b->parent);
-}
-
void
nxt_port_mmap_read(nxt_task_t *task, nxt_port_t *port,
nxt_port_recv_msg_t *msg);