diff mbox series

sound: remove unnecessary return statement

Message ID tencent_DCE08C78F5890298305882057326444C4C0A@qq.com (mailing list archive)
State New
Headers show
Series sound: remove unnecessary return statement | expand

Commit Message

Jiale Yang Nov. 30, 2024, 7:20 a.m. UTC
A return statement at the end of a void function is unnecessary.

Signed-off-by: Jiale Yang <295107659@qq.com>
---
 sound/core/init.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/core/init.c b/sound/core/init.c
index 114fb87de..f16d78d58 100644
--- a/sound/core/init.c
+++ b/sound/core/init.c
@@ -616,7 +616,6 @@  void snd_card_free_when_closed(struct snd_card *card)
 
 	snd_card_disconnect(card);
 	put_device(&card->card_dev);
-	return;
 }
 EXPORT_SYMBOL(snd_card_free_when_closed);