diff options
author | Denis Efremov <yefremov.denis@gmail.com> | 2013-05-09 01:19:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-12 01:12:44 +0200 |
commit | 2fbd967973ae6ae1a989f5638da8bbed93cad2c5 (patch) | |
tree | fcd00307c7ec53f5954f26a7d79cb847d0747a11 /net/ipv4/ip_output.c | |
parent | net/mlx4: Strengthen VLAN tags/priorities enforcement in VST mode (diff) | |
download | linux-2fbd967973ae6ae1a989f5638da8bbed93cad2c5.tar.xz linux-2fbd967973ae6ae1a989f5638da8bbed93cad2c5.zip |
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>
Diffstat (limited to 'net/ipv4/ip_output.c')
-rw-r--r-- | net/ipv4/ip_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 147abf5275aa..4bcabf3ab4ca 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -84,7 +84,7 @@ int sysctl_ip_default_ttl __read_mostly = IPDEFTTL; EXPORT_SYMBOL(sysctl_ip_default_ttl); /* Generate a checksum for an outgoing IP datagram. */ -__inline__ void ip_send_check(struct iphdr *iph) +void ip_send_check(struct iphdr *iph) { iph->check = 0; iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); |