]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: remove unnecessary braces around single-line if body
authorKarel Zak <kzak@redhat.com>
Mon, 15 Jun 2026 10:35:29 +0000 (12:35 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 15 Jun 2026 10:35:29 +0000 (12:35 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu.c

index 5257b9b92c12e3d94e36ebe85448b899f4fbe07b..003ef22ced0057364ebc153110558d08f82a44a7 100644 (file)
@@ -980,9 +980,8 @@ print_summary_cputype(struct lscpu_cxt *cxt,
                add_summary_s(tb, sec, _("ISA:"), ct->isa);
        }
 
-       if (ct->mmu && is_riscv(ct)) {
+       if (ct->mmu && is_riscv(ct))
                add_summary_s(tb, sec, _("MMU:"), ct->mmu);
-       }
 }
 
 /*