ipset: remove unused function __ip_set_get_netlink
authorAaron Conole <aconole@bytheb.org>
Mon, 10 Apr 2017 19:52:37 +0000 (15:52 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 15 Apr 2017 08:24:41 +0000 (10:24 +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>
net/netfilter/ipset/ip_set_core.c

index cb120c3..2b87d9f 100644 (file)
@@ -501,14 +501,6 @@ __ip_set_put(struct ip_set *set)
  * 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)
 {
        write_lock_bh(&ip_set_ref_lock);