Commit 2fbd967973ae6ae1a989f5638da8bbed93cad2c5
Committed by
David S. Miller
1 parent
7677fc965f
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
ipv4: ip_output: remove inline marking of EXPORT_SYMBOL functions
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov <yefremov.denis@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
net/ipv4/ip_output.c
... | ... | @@ -84,7 +84,7 @@ |
84 | 84 | EXPORT_SYMBOL(sysctl_ip_default_ttl); |
85 | 85 | |
86 | 86 | /* Generate a checksum for an outgoing IP datagram. */ |
87 | -__inline__ void ip_send_check(struct iphdr *iph) | |
87 | +void ip_send_check(struct iphdr *iph) | |
88 | 88 | { |
89 | 89 | iph->check = 0; |
90 | 90 | iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); |