From: Matthew Wilcox <willy@infradead.org>
To: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Cc: Liam.Howlett@oracle.com, linux-mm@kvack.org,
linux-kernel@vger.kernel.org,
Abaci Robot <abaci@linux.alibaba.com>
Subject: Re: [PATCH] Maple Tree: Remove unused functions mte_set_full and mte_clear_full
Date: Wed, 14 Sep 2022 11:20:37 +0100 [thread overview]
Message-ID: <YyGq9enhR3W2/MFi@casper.infradead.org> (raw)
In-Reply-To: <20220914101829.82000-1-jiapeng.chong@linux.alibaba.com>
On Wed, Sep 14, 2022 at 06:18:29PM +0800, Jiapeng Chong wrote:
> mte_set_full and mte_clear_full are defined in the maple_tree.c file,
> but not called elsewhere, so delete these unused function.
>
> lib/maple_tree.c:330:20: warning: unused function 'mte_set_full'.
> lib/maple_tree.c:335:20: warning: unused function 'mte_clear_full'.
They're not used now, but they will be in a release or two. They're
static inline functions; keeping them as part of the orthogonal API
costs nothing when they're not used.
prev parent reply other threads:[~2022-09-14 10:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 10:18 Jiapeng Chong
2022-09-14 10:20 ` Matthew Wilcox [this message]
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=YyGq9enhR3W2/MFi@casper.infradead.org \
--to=willy@infradead.org \
--cc=Liam.Howlett@oracle.com \
--cc=abaci@linux.alibaba.com \
--cc=jiapeng.chong@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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