diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/netfilter/ipt_CLUSTERIP.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c b/net/ipv4/netfilter/ipt_CLUSTERIP.c index 1b31f7d14d46..c6cf84c77611 100644 --- a/net/ipv4/netfilter/ipt_CLUSTERIP.c +++ b/net/ipv4/netfilter/ipt_CLUSTERIP.c | |||
@@ -76,13 +76,6 @@ clusterip_config_put(struct clusterip_config *c) | |||
76 | kfree(c); | 76 | kfree(c); |
77 | } | 77 | } |
78 | 78 | ||
79 | /* increase the count of entries(rules) using/referencing this config */ | ||
80 | static inline void | ||
81 | clusterip_config_entry_get(struct clusterip_config *c) | ||
82 | { | ||
83 | atomic_inc(&c->entries); | ||
84 | } | ||
85 | |||
86 | /* decrease the count of entries using/referencing this config. If last | 79 | /* decrease the count of entries using/referencing this config. If last |
87 | * entry(rule) is removed, remove the config from lists, but don't free it | 80 | * entry(rule) is removed, remove the config from lists, but don't free it |
88 | * yet, since proc-files could still be holding references */ | 81 | * yet, since proc-files could still be holding references */ |