]> granicus.if.org Git - ipset/commitdiff
ipset: remove unused function __ip_set_get_netlink
authorAaron Conole <aconole@bytheb.org>
Mon, 11 Sep 2017 18:47:53 +0000 (20:47 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 11 Sep 2017 18:47:53 +0000 (20:47 +0200)
There are no in-tree callers.

Signed-off-by: Aaron Conole <aconole@bytheb.org>
Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
kernel/net/netfilter/ipset/ip_set_core.c

index 6d6c1d77839f53b193fdeeaab9f2f83dfa0510ce..583d43c1bb6375965b3f70415da847b560b90b94 100644 (file)
@@ -507,14 +507,6 @@ __ip_set_put(struct ip_set *set)
 /* set->ref can be swapped out by ip_set_swap, netlink events (like dump) need
  * a separate reference counter
  */
-static inline void
-__ip_set_get_netlink(struct ip_set *set)
-{
-       write_lock_bh(&ip_set_ref_lock);
-       set->ref_netlink++;
-       write_unlock_bh(&ip_set_ref_lock);
-}
-
 static inline void
 __ip_set_put_netlink(struct ip_set *set)
 {