Skip to contentSkip to conversation

imls: remove return parentheses

PATCH In review Osama Abdelkader 2 participants 2 messages Sep 14, 2025 – Sep 24, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imls: remove return parentheses

return is not a function, parentheses are not required

---
 cmd/bootm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/bootm.c +1 -1
index bee683d0580..2c5aea26d98 100644
@@ -572,7 +572,7 @@ static int do_imls(struct cmd_tbl *cmdtp, int flag, int argc,
 	if (ret_nand)
 		return ret_nand;
 
-	return (0);
+	return 0;
 }
 
 U_BOOT_CMD(
Signature · 1 line
2.43.0
#1 lore raw
Quoted 3 lines · Osama Abdelkader

return is not a function, parentheses are not required

Applied to u-boot/next, thanks!

[1/1] imls: remove return parentheses

      commit: 5d0b813d6e4749da2cc8672216ea0f5b9b1b350f
Signature · 1 line
Tom