[PATCH] sound: remove unnecessary return statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



A return statement at the end of a void function is unnecessary.

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

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);
 
-- 
2.47.1





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux