Welcome! Log In Create A New Profile

Advanced

[nginx] Slab: style.

December 03, 2016 02:08AM
details: http://hg.nginx.org/nginx/rev/ea76a3aa18ae
branches:
changeset: 6807:ea76a3aa18ae
user: Ruslan Ermilov <ru@nginx.com>
date: Sat Dec 03 09:55:40 2016 +0300
description:
Slab: style.

Removed redundant parentheses. No functional changes.

diffstat:

src/core/ngx_slab.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 75dbab4ea930 -r ea76a3aa18ae src/core/ngx_slab.c
--- a/src/core/ngx_slab.c Mon Nov 21 16:03:42 2016 +0300
+++ b/src/core/ngx_slab.c Sat Dec 03 09:55:40 2016 +0300
@@ -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;
}


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Slab: style.

ru@nginx.com 196 December 03, 2016 02:08AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 73
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready