From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F01533F5B2; Mon, 15 Jun 2026 10:43:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.175.24.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781520227; cv=none; b=ISTtlf7WF2r58Pt539IKEuuX3t//elWBLp8IXWjbrRaVo7vzXDW/w9o9oT5A1AOyg5+c0CY74Tg2zCy2J/qhvW37HFw3/aH/s4S8ntive0JSwR316lm7DhMdKrNi7toOaF9ROqhVUQYm2WgbkWIEBVHlDvxwcWSOxtEdJ2+7jfk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781520227; c=relaxed/simple; bh=5Cjct7hkI4BKdoY536AkhtUr1habQlfODY6AGVdVDQU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=P2OzeeTRh6P+35X0SvSYmXNW6P8fdkhUxT6fPFj0EfarYimooP20GkIMm8iP2C4zI1wmlCZ+4VTd5JJ+iUJjkPd+4uyKnevJSzK448urNTUmH9BNztKuJxiUnsBdHQ7yZpjef4BzMCULaYvjVOJQnfJQcIdYht2Y38mYaKraKfo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.client-ip=193.175.24.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1wZ4ey-0000JH-00; Mon, 15 Jun 2026 12:35:16 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 0D050C0896; Mon, 15 Jun 2026 12:30:40 +0200 (CEST) Date: Mon, 15 Jun 2026 12:30:40 +0200 From: Thomas Bogendoerfer To: Markus Elfring Cc: linux-mips@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH 4/4] MIPS: kernel: proc: Delete unnecessary braces in show_cpuinfo() Message-ID: References: <7c7d97b0-37bb-4e7b-9b2e-49a7c10eb6c5@web.de> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7c7d97b0-37bb-4e7b-9b2e-49a7c10eb6c5@web.de> On Thu, Jun 04, 2026 at 07:56:12PM +0200, Markus Elfring wrote: > From: Markus Elfring > 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 > --- > 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 applied to mips-next Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]