Re: [PATCH] ipv6: remove unused function ipv6_skb_idev()

2020-11-14 Thread Jakub Kicinski
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,

Re: [PATCH] ipv6: remove unused function ipv6_skb_idev()

2020-11-13 Thread Nathan Chancellor
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: > >

[PATCH] ipv6: remove unused function ipv6_skb_idev()

2020-11-13 Thread Lukas Bulwahn
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]