[PATCH 4/4] MIPS: kernel: proc: Delete unnecessary braces in show_cpuinfo()
From: Markus Elfring
Date: Thu Jun 04 2026 - 13:56:33 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Jun 2026 19:15:15 +0200
Do not use curly brackets at one source code place
where a single statement should be sufficient.
Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
---
arch/mips/kernel/proc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c
index 42430c7f0acf..2c50b0b53be1 100644
--- a/arch/mips/kernel/proc.c
+++ b/arch/mips/kernel/proc.c
@@ -151,10 +151,9 @@ static int show_cpuinfo(struct seq_file *m, void *v)
seq_puts(m, " loongson-ext2");
seq_putc(m, '\n');
- if (cpu_has_mmips) {
+ if (cpu_has_mmips)
seq_printf(m, "micromips kernel\t: %s\n",
str_yes_no(read_c0_config3() & MIPS_CONF3_ISA_OE));
- }
seq_puts(m, "Options implemented\t:");
if (cpu_has_tlb)
--
2.54.0