Skip to content

Commit

Permalink
ipset: remove unused function __ip_set_get_netlink
Browse files Browse the repository at this point in the history
There are no in-tree callers.

Signed-off-by: Aaron Conole <[email protected]>
Acked-by: Jozsef Kadlecsik <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
  • Loading branch information
apconole authored and ummakynes committed Apr 15, 2017
1 parent 809c2d9 commit db268d4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions net/netfilter/ipset/ip_set_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* 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)
{
Expand Down

0 comments on commit db268d4

Please sign in to comment.