ASoC: wm8940: drop unneeded semicolon

When a function-like macro expands to an expression, that expression
doesn't need a semicolon after it.  All uses have been verified to
have their own semicolons.

This was found using the following Coccinelle semantic patch:

@r@
identifier i : script:ocaml() { String.lowercase_ascii i = i };
expression e;
@@

*#define i(...) e;

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://patch.msgid.link/20260801191002.1383835-11-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Julia Lawall 2026-08-01 21:09:57 +02:00 committed by Mark Brown
parent 99ddfbba9e
commit 222e8029a7
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -333,7 +333,7 @@ static const struct snd_soc_dapm_route wm8940_dapm_routes[] = {
{"ADC", NULL, "Boost Mixer"},
};
#define wm8940_reset(c) snd_soc_component_write(c, WM8940_SOFTRESET, 0);
#define wm8940_reset(c) snd_soc_component_write(c, WM8940_SOFTRESET, 0)
static int wm8940_set_dai_fmt(struct snd_soc_dai *codec_dai,
unsigned int fmt)