From: Markus Elfring <elfr...@users.sourceforge.net>
Date: Sat, 11 Nov 2017 13:57:14 +0100

The script "checkpatch.pl" pointed information out like the following.

WARNING: void function return statements are not generally useful

Thus remove such a statement in the affected function.

Signed-off-by: Markus Elfring <elfr...@users.sourceforge.net>
---
 sound/drivers/ml403-ac97cr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c
index 12a54bfde1a5..4cf964ea2802 100644
--- a/sound/drivers/ml403-ac97cr.c
+++ b/sound/drivers/ml403-ac97cr.c
@@ -1060,7 +1060,6 @@ snd_ml403_ac97cr_codec_write(struct snd_ac97 *ac97, 
unsigned short reg,
               reg, val, val);
 #endif
        mutex_unlock(&ml403_ac97cr->cdc_mutex);
-       return;
 }
 
 static int
-- 
2.15.0

Reply via email to