Commit 5a43f697 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller

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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 193d357d
...@@ -1563,7 +1563,7 @@ static int ip_mc_check_igmp_msg(struct sk_buff *skb) ...@@ -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); return skb_checksum_simple_validate(skb);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment