[PATCH -next] ASoC: codecs: Remove unneeded semicolon

Yang Li posted 1 patch 1 month, 1 week ago
sound/soc/codecs/ntp8835.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH -next] ASoC: codecs: Remove unneeded semicolon
Posted by Yang Li 1 month, 1 week ago
This patch removes an unneeded semicolon after a switch statement.

./sound/soc/codecs/ntp8835.c:280:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11404
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 sound/soc/codecs/ntp8835.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/ntp8835.c b/sound/soc/codecs/ntp8835.c
index 97056d8de2bb..800bda6b49dd 100644
--- a/sound/soc/codecs/ntp8835.c
+++ b/sound/soc/codecs/ntp8835.c
@@ -277,7 +277,7 @@ static int ntp8835_set_component_sysclk(struct snd_soc_component *component,
 		ntp8835->mclk_rate = 0;
 		dev_err(component->dev, "Unsupported MCLK value: %u", freq);
 		return -EINVAL;
-	};
+	}
 
 	return 0;
 }
-- 
2.32.0.3.g01195cf9f
Re: [PATCH -next] ASoC: codecs: Remove unneeded semicolon
Posted by Mark Brown 1 month, 1 week ago
On Thu, 17 Oct 2024 13:19:09 +0800, Yang Li wrote:
> This patch removes an unneeded semicolon after a switch statement.
> 
> ./sound/soc/codecs/ntp8835.c:280:2-3: Unneeded semicolon
> 
> 

Applied to

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

Thanks!

[1/1] ASoC: codecs: Remove unneeded semicolon
      commit: 7bc18a78157997575d8260bd922fff11fb5f21df

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