From: Yu Watanabe Date: Mon, 25 Jun 2018 04:49:56 +0000 (+0900) Subject: machine-pool: drop unnecessary condition X-Git-Tag: v240~1051^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8838f46f9303893f12e9ae30b6e85160137f1e76;p=thirdparty%2Fsystemd.git machine-pool: drop unnecessary condition --- diff --git a/src/shared/machine-pool.c b/src/shared/machine-pool.c index 53c5609f9bb..4fedeb17e36 100644 --- a/src/shared/machine-pool.c +++ b/src/shared/machine-pool.c @@ -314,8 +314,7 @@ fail: loop = safe_close(loop); } - if (control >= 0 && nr >= 0) - (void) ioctl(control, LOOP_CTL_REMOVE, nr); + (void) ioctl(control, LOOP_CTL_REMOVE, nr); return r; }