From: Miaohe Lin <linmiaohe@huawei.com>
To: <akpm@linux-foundation.org>, <sjenning@redhat.com>,
<ddstreet@ieee.org>, <vitaly.wool@konsulko.com>
Cc: <bigeasy@linutronix.de>, <nathan@kernel.org>,
<colin.king@canonical.com>, <tiantao6@hisilicon.com>,
<linux-kernel@vger.kernel.org>, <linux-mm@kvack.org>,
<linmiaohe@huawei.com>
Subject: [PATCH 1/3] mm/zswap.c: remove unused function zswap_debugfs_exit()
Date: Sat, 22 May 2021 17:22:40 +0800 [thread overview]
Message-ID: <20210522092242.3233191-2-linmiaohe@huawei.com> (raw)
In-Reply-To: <20210522092242.3233191-1-linmiaohe@huawei.com>
zswap_debugfs_exit() is unused, remove it.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.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
next prev parent reply other threads:[~2021-05-22 9:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-22 9:22 [PATCH 0/3] Cleanup and fixup for zswap Miaohe Lin
2021-05-22 9:22 ` Miaohe Lin [this message]
2021-05-22 9:22 ` [PATCH 2/3] mm/zswap.c: avoid unnecessary copy-in at map time Miaohe Lin
2021-05-22 9:22 ` [PATCH 3/3] mm/zswap.c: fix two bugs in zswap_writeback_entry() Miaohe Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210522092242.3233191-2-linmiaohe@huawei.com \
--to=linmiaohe@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=bigeasy@linutronix.de \
--cc=colin.king@canonical.com \
--cc=ddstreet@ieee.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=nathan@kernel.org \
--cc=sjenning@redhat.com \
--cc=tiantao6@hisilicon.com \
--cc=vitaly.wool@konsulko.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox