OSDN Git Service

ASoC: rk817: Remove unneeded semicolon
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 4 Jun 2021 10:23:29 +0000 (18:23 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jun 2021 15:20:02 +0000 (16:20 +0100)
Fix the following coccicheck warnings:

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1622802209-45031-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rk817_codec.c

index fd3a5ba..f771184 100644 (file)
@@ -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;
 }