aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-01-31 04:47:35 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:28:03 -0800
commitd33b7c06bd721e21534c120d1c4a5944dc3eb9ce (patch)
treedf856f2cfc0ee7dc81837c254b3dcdbcc7eb7a0e
parenta38201e3c9e93bb8a873bd92e12cf1de1b987d91 (diff)
downloadkernel_samsung_crespo-d33b7c06bd721e21534c120d1c4a5944dc3eb9ce.zip
kernel_samsung_crespo-d33b7c06bd721e21534c120d1c4a5944dc3eb9ce.tar.gz
kernel_samsung_crespo-d33b7c06bd721e21534c120d1c4a5944dc3eb9ce.tar.bz2
[NETFILTER]: nf_conntrack: kill unused static inline (do_iter)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/netfilter/nf_conntrack_core.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c
index 1a3673d..327e847 100644
--- a/net/netfilter/nf_conntrack_core.c
+++ b/net/netfilter/nf_conntrack_core.c
@@ -902,14 +902,6 @@ static void nf_conntrack_attach(struct sk_buff *nskb, struct sk_buff *skb)
nf_conntrack_get(nskb->nfct);
}
-static inline int
-do_iter(const struct nf_conntrack_tuple_hash *i,
- int (*iter)(struct nf_conn *i, void *data),
- void *data)
-{
- return iter(nf_ct_tuplehash_to_ctrack(i), data);
-}
-
/* Bring out ya dead! */
static struct nf_conn *
get_next_corpse(int (*iter)(struct nf_conn *i, void *data),