提交 d33b7c06 编写于 作者: I Ilpo Järvinen 提交者: David S. Miller

[NETFILTER]: nf_conntrack: kill unused static inline (do_iter)

Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a38201e3
...@@ -902,14 +902,6 @@ static void nf_conntrack_attach(struct sk_buff *nskb, struct sk_buff *skb) ...@@ -902,14 +902,6 @@ static void nf_conntrack_attach(struct sk_buff *nskb, struct sk_buff *skb)
nf_conntrack_get(nskb->nfct); 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! */ /* Bring out ya dead! */
static struct nf_conn * static struct nf_conn *
get_next_corpse(int (*iter)(struct nf_conn *i, void *data), get_next_corpse(int (*iter)(struct nf_conn *i, void *data),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册