From: Ruslan Ermilov Date: Sat, 3 Dec 2016 06:55:40 +0000 (+0300) Subject: Slab: style. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=3df657f6fd4417c99d535c114024b44c0f86009a;p=nginx.git Slab: style. Removed redundant parentheses. No functional changes. --- diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index 56e7765c0..9d257f364 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -211,7 +211,7 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size) 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 *pool, size_t size) 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 *pool, size_t size) m & mask; m <<= 1, i++) { - if ((page->slab & m)) { + if (page->slab & m) { continue; }