]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ipv6: remove unused function ipv6_skb_idev()
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Fri, 13 Nov 2020 13:50:12 +0000 (14:50 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Nov 2020 20:00:27 +0000 (12:00 -0800)
commit2e793878aece73260f56e84b62e62ef066a0e1fb
tree67c70b5eb2bf7d0496fcb62d308dc3096bc11553
parent07cbce2e466cabb46b7c2317bd456584aa4ceacc
ipv6: remove unused function ipv6_skb_idev()

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@gmail.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Link: https://lore.kernel.org/r/20201113135012.32499-1-lukas.bulwahn@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/exthdrs.c