mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
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>
This commit is contained in:
parent
193d357d08
commit
5a43f697cc
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user