diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2016-09-22 19:31:08 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-09-22 19:31:08 +0300 |
| commit | 017cf96c9b3d29f6a95423d22cdea63587c3d67e (patch) | |
| tree | 73967724355a9198eaf384b99051f437a7aa50a1 /src/stream | |
| parent | 778c00c415e08fe25858f9f62fc2c914234c2005 (diff) | |
| download | nginx-017cf96c9b3d29f6a95423d22cdea63587c3d67e.tar.gz nginx-017cf96c9b3d29f6a95423d22cdea63587c3d67e.tar.bz2 | |
Upstream: style.
Diffstat (limited to 'src/stream')
| -rw-r--r-- | src/stream/ngx_stream_upstream_hash_module.c | 1 | ||||
| -rw-r--r-- | src/stream/ngx_stream_upstream_least_conn_module.c | 1 | ||||
| -rw-r--r-- | src/stream/ngx_stream_upstream_round_robin.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/stream/ngx_stream_upstream_hash_module.c b/src/stream/ngx_stream_upstream_hash_module.c index 605eea713..0952f330a 100644 --- a/src/stream/ngx_stream_upstream_hash_module.c +++ b/src/stream/ngx_stream_upstream_hash_module.c @@ -524,7 +524,6 @@ ngx_stream_upstream_get_chash_peer(ngx_peer_connection_t *pc, void *data) peer; peer = peer->next, i++) { - n = i / (8 * sizeof(uintptr_t)); m = (uintptr_t) 1 << i % (8 * sizeof(uintptr_t)); diff --git a/src/stream/ngx_stream_upstream_least_conn_module.c b/src/stream/ngx_stream_upstream_least_conn_module.c index e884975fa..3c8a0b003 100644 --- a/src/stream/ngx_stream_upstream_least_conn_module.c +++ b/src/stream/ngx_stream_upstream_least_conn_module.c @@ -132,7 +132,6 @@ ngx_stream_upstream_get_least_conn_peer(ngx_peer_connection_t *pc, void *data) peer; peer = peer->next, i++) { - n = i / (8 * sizeof(uintptr_t)); m = (uintptr_t) 1 << i % (8 * sizeof(uintptr_t)); diff --git a/src/stream/ngx_stream_upstream_round_robin.c b/src/stream/ngx_stream_upstream_round_robin.c index 7aced0f4b..6407480b0 100644 --- a/src/stream/ngx_stream_upstream_round_robin.c +++ b/src/stream/ngx_stream_upstream_round_robin.c @@ -527,7 +527,6 @@ ngx_stream_upstream_get_peer(ngx_stream_upstream_rr_peer_data_t *rrp) peer; peer = peer->next, i++) { - n = i / (8 * sizeof(uintptr_t)); m = (uintptr_t) 1 << i % (8 * sizeof(uintptr_t)); |
