forked from Minki/linux
[NETFILTER]: ipt_CLUSTERIP: kill clusterip_config_entry_get
It's unused static inline. 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>
This commit is contained in:
parent
a83099a60f
commit
a38201e3c9
@ -76,13 +76,6 @@ clusterip_config_put(struct clusterip_config *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
|
||||
* entry(rule) is removed, remove the config from lists, but don't free it
|
||||
* yet, since proc-files could still be holding references */
|
||||
|
Loading…
Reference in New Issue
Block a user