* [PATCH] staging: greybus: audio_codec.c: Remove redundant parenthesis
@ 2024-05-17 23:38 Michail Tatas
2024-05-18 4:12 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Michail Tatas @ 2024-05-17 23:38 UTC (permalink / raw)
To: vaibhav.sr, mgreer, johan, elder, gregkh, outreachy
Cc: linux-staging, linux-kernel, Michail Tatas
Remove unnecessary parenthesis as suggested by the checkpatch.pl
Signed-off-by: Michail Tatas <michail.tatas@gmail.com>
---
drivers/staging/greybus/audio_codec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c
index 2f05e761fb9a..dfb5322964de 100644
--- a/drivers/staging/greybus/audio_codec.c
+++ b/drivers/staging/greybus/audio_codec.c
@@ -305,7 +305,7 @@ int gbaudio_module_update(struct gbaudio_codec_info *codec,
dev_dbg(module->dev, "%s:Module update %s sequence\n", w->name,
enable ? "Enable" : "Disable");
- if ((w->id != snd_soc_dapm_aif_in) && (w->id != snd_soc_dapm_aif_out)) {
+ if (w->id != snd_soc_dapm_aif_in && w->id != snd_soc_dapm_aif_out) {
dev_dbg(codec->dev, "No action required for %s\n", w->name);
return 0;
}
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] staging: greybus: audio_codec.c: Remove redundant parenthesis
2024-05-17 23:38 [PATCH] staging: greybus: audio_codec.c: Remove redundant parenthesis Michail Tatas
@ 2024-05-18 4:12 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-05-18 4:12 UTC (permalink / raw)
To: Michail Tatas
Cc: vaibhav.sr, mgreer, johan, elder, outreachy, linux-staging,
linux-kernel
On Sat, May 18, 2024 at 02:38:06AM +0300, Michail Tatas wrote:
> Remove unnecessary parenthesis as suggested by the checkpatch.pl
checkpatch.pl is wrong here, sorry. Please see the archives for why.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-18 4:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17 23:38 [PATCH] staging: greybus: audio_codec.c: Remove redundant parenthesis Michail Tatas
2024-05-18 4:12 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox