Slab: style.

Removed redundant parentheses.  No functional changes.
This commit is contained in:
Ruslan Ermilov 2016-12-03 09:55:40 +03:00
parent 433fdbf8b6
commit 3df657f6fd

View File

@ -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;
}