projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193d357
)
igmp: uninline ip_mc_validate_checksum()
author
Alexey Dobriyan
<adobriyan@gmail.com>
Thu, 3 Oct 2019 21:26:52 +0000
(
00:26
+0300)
committer
David S. Miller
<davem@davemloft.net>
Fri, 4 Oct 2019 21:26:46 +0000
(14:26 -0700)
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>
net/ipv4/igmp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/igmp.c
b/net/ipv4/igmp.c
index 480d0b22db1a6d0cb36688fff01966fdb7375d1f..3b9c7a2725a9955ca8177068078a735db72fe646 100644
(file)
--- 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);
}