Skip to contentSkip to conversation

ASoC: Remove unneeded semicolon in rk817_codec.c

PATCH In review Wan Jiabing 2 participants 4 messages Jun 4, 2021 – Jun 7, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: Remove unneeded semicolon in rk817_codec.c

Fix following coccicheck warning:
./sound/soc/codecs/rk817_codec.c:49:2-3: Unneeded semicolon

---
 sound/soc/codecs/rk817_codec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rk817_codec.c +1 -1
index fd3a5ba034a9..414d21f22a05 100644
@@ -46,7 +46,7 @@ static int rk817_init(struct snd_soc_component *component)
 	if (rk817->mic_in_differential) {
 		snd_soc_component_update_bits(component, RK817_CODEC_AMIC_CFG0, MIC_DIFF_MASK,
 			MIC_DIFF_EN);
-	};
+	}
 	return 0;
 }
 
Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 2 lines · Wan Jiabing

Fix following coccicheck warning:
./sound/soc/codecs/rk817_codec.c:49:2-3: Unneeded semicolon

This doesn't apply against current code, please check and resend.

#2 lore raw

Hi, Mark

Quoted 5 lines · Wan Jiabing
Quoted 2 lines

Fix following coccicheck warning:
./sound/soc/codecs/rk817_codec.c:49:2-3: Unneeded semicolon

This doesn't apply against current code, please check and resend.

I fixed this based on next-20210603.
And this also applies against next-20210604.

It might be my fault that I didn't decribe the version clearly.

Should I write some description at subject line when working on ASoC of linux-next?

Thanks,
Jiabing

maintainer
#3 lore raw
Quoted 4 lines · Jiabing Wan
Quoted 4 lines · Wan Jiabing
Quoted 2 lines

Fix following coccicheck warning:
./sound/soc/codecs/rk817_codec.c:49:2-3: Unneeded semicolon

Quoted 8 lines
Quoted 1 line

This doesn't apply against current code, please check and resend.

I fixed this based on next-20210603.
And this also applies against next-20210604.

It might be my fault that I didn't decribe the version clearly.

Should I write some description at subject line when working on ASoC of linux-next?

I tried to apply this against my current -next targetted code, it's possible some change happened since the last time -next was built.