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

[NETFILTER]: ipt_CLUSTERIP: kill clusterip_config_entry_get

It's unused static inline.
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>
上级 a83099a6
...@@ -76,13 +76,6 @@ clusterip_config_put(struct clusterip_config *c) ...@@ -76,13 +76,6 @@ clusterip_config_put(struct clusterip_config *c)
kfree(c); kfree(c);
} }
/* increase the count of entries(rules) using/referencing this config */
static inline void
clusterip_config_entry_get(struct clusterip_config *c)
{
atomic_inc(&c->entries);
}
/* decrease the count of entries using/referencing this config. If last /* decrease the count of entries using/referencing this config. If last
* entry(rule) is removed, remove the config from lists, but don't free it * entry(rule) is removed, remove the config from lists, but don't free it
* yet, since proc-files could still be holding references */ * yet, since proc-files could still be holding references */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册