[NETFILTER]: Remove incorrect inline markers
authorJan Engelhardt <jengelh@gmx.de>
Sun, 8 Jul 2007 05:17:36 +0000 (22:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:17:02 +0000 (22:17 -0700)
device_cmp: the function's address is taken (call to nf_ct_iterate_cleanup)
alloc_null_binding: referenced externally

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ipt_MASQUERADE.c
net/ipv4/netfilter/nf_nat_rule.c

index 846a0e7..f136ef7 100644 (file)
@@ -109,7 +109,7 @@ masquerade_target(struct sk_buff **pskb,
        return nf_nat_setup_info(ct, &newrange, hooknum);
 }
 
-static inline int
+static int
 device_cmp(struct nf_conn *i, void *ifindex)
 {
        const struct nf_conn_nat *nat = nfct_nat(i);
index fc3d943..ea1a07c 100644 (file)
@@ -172,7 +172,7 @@ static bool ipt_dnat_checkentry(const char *tablename,
        return true;
 }
 
-inline unsigned int
+unsigned int
 alloc_null_binding(struct nf_conn *ct, unsigned int hooknum)
 {
        /* Force range to this IP; let proto decide mapping for