Mercurial > hg > nginx-quic
diff src/core/ngx_slab.c @ 6807:ea76a3aa18ae
Slab: style.
Removed redundant parentheses. No functional changes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Sat, 03 Dec 2016 09:55:40 +0300 |
parents | f01ab2dbcfdc |
children | 2af776c22aec |
line wrap: on
line diff
--- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -211,7 +211,7 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *p if (bitmap[n] != NGX_SLAB_BUSY) { for (m = 1, i = 0; m; m <<= 1, i++) { - if ((bitmap[n] & m)) { + if (bitmap[n] & m) { continue; } @@ -255,7 +255,7 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *p if (page->slab != NGX_SLAB_BUSY) { for (m = 1, i = 0; m; m <<= 1, i++) { - if ((page->slab & m)) { + if (page->slab & m) { continue; } @@ -297,7 +297,7 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *p m & mask; m <<= 1, i++) { - if ((page->slab & m)) { + if (page->slab & m) { continue; }