diff options
author | Sami Kerola | 2016-07-03 13:30:46 +0200 |
---|---|---|
committer | Sami Kerola | 2016-07-21 22:14:33 +0200 |
commit | 341154da281916a0cc04ec0d4712296bc3e7e69a (patch) | |
tree | 29ddb3e30b39ebe7d04eac8c11925a9e78971b61 /login-utils/lslogins.c | |
parent | misc: simplify if clauses [oclint] (diff) | |
download | kernel-qcow2-util-linux-341154da281916a0cc04ec0d4712296bc3e7e69a.tar.gz kernel-qcow2-util-linux-341154da281916a0cc04ec0d4712296bc3e7e69a.tar.xz kernel-qcow2-util-linux-341154da281916a0cc04ec0d4712296bc3e7e69a.zip |
switch_root: simplify code and reduce indentation [oclint]
The if statement in line 162 already ensures value of cfd to be 0 or
greater, so the later if is not needed.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/lslogins.c')
0 files changed, 0 insertions, 0 deletions