linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] exfat: Remove unnecessary parentheses
@ 2025-08-25 13:35 Liao Yuanhong
  2025-08-30  5:41 ` Namjae Jeon
  0 siblings, 1 reply; 2+ messages in thread
From: Liao Yuanhong @ 2025-08-25 13:35 UTC (permalink / raw)
  To: Namjae Jeon, Sungjong Seo, Yuezhang Mo,
	open list:EXFAT FILE SYSTEM, open list
  Cc: Liao Yuanhong

When using &, it's unnecessary to have parentheses afterward. Remove
redundant parentheses to enhance readability.

Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
---
 fs/exfat/nls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/exfat/nls.c b/fs/exfat/nls.c
index 1729bf42eb51..8243d94ceaf4 100644
--- a/fs/exfat/nls.c
+++ b/fs/exfat/nls.c
@@ -789,7 +789,7 @@ int exfat_create_upcase_table(struct super_block *sb)
 			return ret;
 		}
 
-		if (exfat_get_next_cluster(sb, &(clu.dir)))
+		if (exfat_get_next_cluster(sb, &clu.dir))
 			return -EIO;
 	}
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] exfat: Remove unnecessary parentheses
  2025-08-25 13:35 [PATCH] exfat: Remove unnecessary parentheses Liao Yuanhong
@ 2025-08-30  5:41 ` Namjae Jeon
  0 siblings, 0 replies; 2+ messages in thread
From: Namjae Jeon @ 2025-08-30  5:41 UTC (permalink / raw)
  To: Liao Yuanhong
  Cc: Sungjong Seo, Yuezhang Mo, open list:EXFAT FILE SYSTEM, open list

On Mon, Aug 25, 2025 at 10:35 PM Liao Yuanhong <liaoyuanhong@vivo.com> wrote:
>
> When using &, it's unnecessary to have parentheses afterward. Remove
> redundant parentheses to enhance readability.
>
> Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Applied it to #dev.
Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-30  5:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-25 13:35 [PATCH] exfat: Remove unnecessary parentheses Liao Yuanhong
2025-08-30  5:41 ` Namjae Jeon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).