From bd451a50a9ca3bf9a422c4e8b8bc8bd6c126a1b7 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 29 Mar 2018 16:35:03 +0300 Subject: Removed unused macros and functions. --- src/nxt_port_hash.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/nxt_port_hash.h') 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_ */ -- cgit