Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db268d4d authored by Aaron Conole's avatar Aaron Conole Committed by Pablo Neira Ayuso
Browse files

ipset: remove unused function __ip_set_get_netlink



There are no in-tree callers.

Signed-off-by: default avatarAaron Conole <aconole@bytheb.org>
Acked-by: default avatarJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 809c2d9a
Loading
Loading
Loading
Loading
+0 −8
Original line number Original line Diff line number Diff line
@@ -500,14 +500,6 @@ __ip_set_put(struct ip_set *set)
/* set->ref can be swapped out by ip_set_swap, netlink events (like dump) need
/* set->ref can be swapped out by ip_set_swap, netlink events (like dump) need
 * a separate reference counter
 * 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
static inline void
__ip_set_put_netlink(struct ip_set *set)
__ip_set_put_netlink(struct ip_set *set)
{
{