[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250125154139.7565-1-deaner92@yahoo.com>
Date: Sat, 25 Jan 2025 16:41:28 +0100
From: deaner92@...oo.com
To:
Cc: mhiramat@...nel.org,
akpm@...ux-foundation.org,
mingo@...nel.org,
ytcoode@...il.com,
mcgrof@...nel.org,
tj@...nel.org,
tglx@...utronix.de,
pmladek@...e.com,
christophe.leroy@...roup.eu,
linux@...usvillemoes.dk,
shijie@...amperecomputing.com,
geert+renesas@...der.be,
rrangel@...omium.org,
linux-kernel@...r.kernel.org,
deaner92@...oo.com
Subject: [PATCH] init: Unnecessary braces around single line statment.
From: Jeremy Clifton <deaner92@...oo.com>
Warning found with checkpatch.pl script. Removed unnecessary braces.
Signed-off-by: Jeremy Clifton <deaner92@...oo.com>
---
init/main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/init/main.c b/init/main.c
index 00fac1170294..64034fce4c9e 100644
--- a/init/main.c
+++ b/init/main.c
@@ -398,9 +398,8 @@ static char * __init xbc_make_cmdline(const char *key)
static int __init bootconfig_params(char *param, char *val,
const char *unused, void *arg)
{
- if (strcmp(param, "bootconfig") == 0) {
+ if (strcmp(param, "bootconfig") == 0)
bootconfig_found = true;
- }
return 0;
}
--
2.43.0
Powered by blists - more mailing lists