lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_DCE08C78F5890298305882057326444C4C0A@qq.com>
Date: Sat, 30 Nov 2024 15:20:00 +0800
From: Jiale Yang <295107659@...com>
To: tiwai@...e.com
Cc: perex@...ex.cz,
	linux-sound@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Jiale Yang <295107659@...com>
Subject: [PATCH] sound: remove unnecessary return statement

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

Signed-off-by: Jiale Yang <295107659@...com>
---
 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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ