summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2019-10-04 00:26:52 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-04 14:26:46 -0700
commit5a43f697cc105544fb85f3a0bbc8223ec50b28d0 (patch)
treeac4708c4960ca22a32d2a9f128543368e24384b8
parent193d357d087309f2d5ab8e8caab1af5e3bc29fa0 (diff)
downloadlinux-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>
-rw-r--r--net/ipv4/igmp.c2
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);
}