Skip to content

Commit

Permalink
remove noused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lhanjian committed Nov 3, 2023
1 parent 479f96e commit f67cff8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/os/unix/ngx_getaffinity.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
void
ngx_getaffinity(ngx_cpuset_t *cpu_affinity, ngx_log_t *log)
{
ngx_uint_t i;

if (sched_getaffinity(0, sizeof(cpu_set_t), cpu_affinity) == -1) {
ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
"sched_setaffinity() failed");
Expand Down

0 comments on commit f67cff8

Please sign in to comment.