Only one caller; place it where needed and get rid of the EXPORT_SYMBOL.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -25,7 +25,6 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, · 24 unmodified lines | ||
| 25 | 25 | unsigned int dataoff, u_int8_t protocol); |
| 26 | 26 | int nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl, |
| 27 | 27 | bool strict); |
| 28 | −int nf_ip_reroute(struct sk_buff *skb, const struct nf_queue_entry *entry); | |
| 29 | 28 | #else |
| 30 | 29 | static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, |
| 31 | 30 | unsigned int dataoff, u_int8_t protocol) |
| @@ -37,11 +36,6 @@ static inline int nf_ip_route(struct net *net, struct dst_entry **dst, · 5 unmodified lines | ||
| 37 | 36 | { |
| 38 | 37 | return -EOPNOTSUPP; |
| 39 | 38 | } |
| 40 | −static inline int nf_ip_reroute(struct sk_buff *skb, | |
| 41 | − const struct nf_queue_entry *entry) | |
| 42 | −{ | |
| 43 | − return -EOPNOTSUPP; | |
| 44 | −} | |
| 45 | 39 | #endif /* CONFIG_INET */ |
| 46 | 40 | |
| 47 | 41 | #endif /*__LINUX_IP_NETFILTER_H*/ |