[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YyGq9enhR3W2/MFi@casper.infradead.org>
Date: Wed, 14 Sep 2022 11:20:37 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: Liam.Howlett@...cle.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] Maple Tree: Remove unused functions mte_set_full and
mte_clear_full
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.
Powered by blists - more mailing lists