Skip to content

Commit 5a43f69

Browse files
Alexey Dobriyandavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 193d357 commit 5a43f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv4/igmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ static int ip_mc_check_igmp_msg(struct sk_buff *skb)
15631563
}
15641564
}
15651565

1566-
static inline __sum16 ip_mc_validate_checksum(struct sk_buff *skb)
1566+
static __sum16 ip_mc_validate_checksum(struct sk_buff *skb)
15671567
{
15681568
return skb_checksum_simple_validate(skb);
15691569
}

0 commit comments

Comments
 (0)