From 3df657f6fd4417c99d535c114024b44c0f86009a Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sat, 3 Dec 2016 09:55:40 +0300 Subject: [PATCH] Slab: style. Removed redundant parentheses. No functional changes. --- src/core/ngx_slab.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }