One line redundant code in ngx_slab_free_locked
|Reported by:||Owned by:|
|nginx -V:||nginx version: nginx/1.15.8|
Hi, When I read the source code of Nginx, I notice there is one line redundant code in ngx_slab_free_locked.
n = ((u_char *) p - pool->start) >> ngx_pagesize_shift;
In the beginning of this function, 'n' has been calculated, but in the case NGX_SLAB_PAGE, it is calculated again.
Please see the patch, thanks.