diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2019-10-04 00:26:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-04 14:26:46 -0700 |
commit | 5a43f697cc105544fb85f3a0bbc8223ec50b28d0 (patch) | |
tree | ac4708c4960ca22a32d2a9f128543368e24384b8 /net/ipv4/igmp.c | |
parent | 193d357d087309f2d5ab8e8caab1af5e3bc29fa0 (diff) | |
download | linux-5a43f697cc105544fb85f3a0bbc8223ec50b28d0.tar.gz linux-5a43f697cc105544fb85f3a0bbc8223ec50b28d0.tar.bz2 linux-5a43f697cc105544fb85f3a0bbc8223ec50b28d0.zip |
igmp: uninline ip_mc_validate_checksum()
This function is only used via function pointer.
"inline" doesn't hurt given that taking address of an inline function
forces out-of-line version but it doesn't help either.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/igmp.c')
-rw-r--r-- | net/ipv4/igmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index 480d0b22db1a..3b9c7a2725a9 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c @@ -1563,7 +1563,7 @@ static int ip_mc_check_igmp_msg(struct sk_buff *skb) } } -static inline __sum16 ip_mc_validate_checksum(struct sk_buff *skb) +static __sum16 ip_mc_validate_checksum(struct sk_buff *skb) { return skb_checksum_simple_validate(skb); } |