[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201114120310.0378d56a@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Sat, 14 Nov 2020 12:03:10 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Lukas Bulwahn <lukas.bulwahn@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
netdev@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Tom Rix <trix@...hat.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
clang-built-linux@...glegroups.com,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipv6: remove unused function ipv6_skb_idev()
On Fri, 13 Nov 2020 11:36:49 -0700 Nathan Chancellor wrote:
> On Fri, Nov 13, 2020 at 02:50:12PM +0100, Lukas Bulwahn wrote:
> > Commit bdb7cc643fc9 ("ipv6: Count interface receive statistics on the
> > ingress netdev") removed all callees for ipv6_skb_idev(). Hence, since
> > then, ipv6_skb_idev() is unused and make CC=clang W=1 warns:
> >
> > net/ipv6/exthdrs.c:909:33:
> > warning: unused function 'ipv6_skb_idev' [-Wunused-function]
> >
> > So, remove this unused function and a -Wunused-function warning.
> >
> > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@...il.com>
>
> Reviewed-by: Nathan Chancellor <natechancellor@...il.com>
Applied, thanks!
Powered by blists - more mailing lists