2021-06-04 10:25:22

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] ASoC: rk817: Remove unneeded semicolon

Fix the following coccicheck warnings:

./sound/soc/codecs/rk817_codec.c:49:2-3: Unneeded semicolon.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
sound/soc/codecs/rk817_codec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rk817_codec.c b/sound/soc/codecs/rk817_codec.c
index 17e672b..e95fe75 100644
--- a/sound/soc/codecs/rk817_codec.c
+++ b/sound/soc/codecs/rk817_codec.c
@@ -46,7 +46,8 @@ 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;
}

--
1.8.3.1


2021-06-04 14:29:01

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] ASoC: rk817: Remove unneeded semicolon

On Fri, Jun 04, 2021 at 06:23:29PM +0800, Jiapeng Chong wrote:
> Fix the following coccicheck warnings:
>
> ./sound/soc/codecs/rk817_codec.c:49:2-3: Unneeded semicolon.

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


Attachments:
(No filename) (243.00 B)
signature.asc (499.00 B)
Download all attachments

2021-06-07 19:04:48

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] ASoC: rk817: Remove unneeded semicolon

On Fri, 4 Jun 2021 18:23:29 +0800, Jiapeng Chong wrote:
> Fix the following coccicheck warnings:
>
> ./sound/soc/codecs/rk817_codec.c:49:2-3: Unneeded semicolon.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: rk817: Remove unneeded semicolon
commit: 54f6731394520d706c3133aab17aa90434bcf1aa

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark