summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_hash.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-03-29 16:35:03 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-03-29 16:35:03 +0300
commitbd451a50a9ca3bf9a422c4e8b8bc8bd6c126a1b7 (patch)
treefd55922a1a06f30b0a02b31f5598ba976a9c3116 /src/nxt_port_hash.h
parent18377ad288cc247ab49bef61965eb4f124a52cf0 (diff)
downloadunit-bd451a50a9ca3bf9a422c4e8b8bc8bd6c126a1b7.tar.gz
unit-bd451a50a9ca3bf9a422c4e8b8bc8bd6c126a1b7.tar.bz2
Removed unused macros and functions.
Diffstat (limited to 'src/nxt_port_hash.h')
-rw-r--r--src/nxt_port_hash.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nxt_port_hash.h b/src/nxt_port_hash.h
index 69a1a8e3..97266fac 100644
--- a/src/nxt_port_hash.h
+++ b/src/nxt_port_hash.h
@@ -24,17 +24,5 @@ nxt_port_t *nxt_port_hash_first(nxt_lvlhsh_t *port_hash,
#define nxt_port_hash_next(port_hash, lhe) \
nxt_lvlhsh_each((port_hash), (lhe))
-#define nxt_port_hash_each(port_hash, port) \
- do { \
- nxt_lvlhsh_each_t _lhe; \
- \
- for (port = nxt_port_hash_first((port_hash), &_lhe); \
- port != NULL; \
- port = nxt_port_hash_next((port_hash), &_lhe)) { \
-
-#define nxt_port_hash_loop \
- } \
- } while(0)
-
#endif /* _NXT_PORT_HASH_H_INCLIDED_ */