From: Ilpo Järvinen Date: Thu, 31 Jan 2008 12:46:02 +0000 (-0800) Subject: [NETFILTER]: ipt_CLUSTERIP: kill clusterip_config_entry_get X-Git-Tag: upstream/snapshot3+hdmi~28270^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a38201e3c9e93bb8a873bd92e12cf1de1b987d91;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [NETFILTER]: ipt_CLUSTERIP: kill clusterip_config_entry_get It's unused static inline. Signed-off-by: Ilpo Järvinen Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c b/net/ipv4/netfilter/ipt_CLUSTERIP.c index 1b31f7d..c6cf84c 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) 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 */