[PATCH] ASoC: topology: remove unneeded semicolon

Jason Yan yanaijie at huawei.com
Mon Apr 20 06:28:58 CEST 2020


Fix the following coccicheck warning:

sound/soc/soc-topology.c:2344:2-3: Unneeded semicolon

Signed-off-by: Jason Yan <yanaijie at huawei.com>
---
 sound/soc/soc-topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index 33e8d189ba2f..a5cd73742dc5 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -2390,7 +2390,7 @@ static int soc_tplg_link_elems_load(struct soc_tplg *tplg,
 		tplg->pos += le32_to_cpu(hdr->size) +
 			le32_to_cpu(hdr->payload_size);
 		return 0;
-	};
+	}
 
 	/* check the element size and count */
 	link = (struct snd_soc_tplg_link_config *)tplg->pos;
-- 
2.21.1



More information about the Alsa-devel mailing list