Re: lib/maple_tree.c:330:20: error: unused function 'mte_set_full'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 30, 2024 at 05:50:15PM -0700, Andrew Morton wrote:
> On Sat, 31 Aug 2024 07:42:38 +0800 kernel test robot <lkp@xxxxxxxxx> wrote:
> 
> > All errors (new ones prefixed by >>):
> > 
> > >> lib/maple_tree.c:330:20: error: unused function 'mte_set_full' [-Werror,-Wunused-function]
> >      330 | static inline void mte_set_full(const struct maple_enode *node)
> >          |                    ^~~~~~~~~~~~
> > >> lib/maple_tree.c:335:20: error: unused function 'mte_clear_full' [-Werror,-Wunused-function]
> >      335 | static inline void mte_clear_full(const struct maple_enode *node)
> >          |                    ^~~~~~~~~~~~~~
> >    2 errors generated.
> 
> afaict these have never been used.  It's odd that this was just detected.

I don't think it has just now been detected, as these functions have
been flagged before:

https://lore.kernel.org/20240503160821.GB3960118@thelio-3990X/

> Should we just zap them or is there some reason to retain?


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux