Commit a38201e3 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by David S. Miller

[NETFILTER]: ipt_CLUSTERIP: kill clusterip_config_entry_get

It's unused static inline.
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment