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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210522092242.3233191-2-linmiaohe@huawei.com>
Date:   Sat, 22 May 2021 17:22:40 +0800
From:   Miaohe Lin <linmiaohe@...wei.com>
To:     <akpm@...ux-foundation.org>, <sjenning@...hat.com>,
        <ddstreet@...e.org>, <vitaly.wool@...sulko.com>
CC:     <bigeasy@...utronix.de>, <nathan@...nel.org>,
        <colin.king@...onical.com>, <tiantao6@...ilicon.com>,
        <linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>,
        <linmiaohe@...wei.com>
Subject: [PATCH 1/3] mm/zswap.c: remove unused function zswap_debugfs_exit()

zswap_debugfs_exit() is unused, remove it.

Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
---
 mm/zswap.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/mm/zswap.c b/mm/zswap.c
index 20763267a219..e93459319fdb 100644
--- a/mm/zswap.c
+++ b/mm/zswap.c
@@ -1427,18 +1427,11 @@ static int __init zswap_debugfs_init(void)
 
 	return 0;
 }
-
-static void __exit zswap_debugfs_exit(void)
-{
-	debugfs_remove_recursive(zswap_debugfs_root);
-}
 #else
 static int __init zswap_debugfs_init(void)
 {
 	return 0;
 }
-
-static void __exit zswap_debugfs_exit(void) { }
 #endif
 
 /*********************************
-- 
2.23.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ