mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
ipset: remove unused function __ip_set_get_netlink
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>
This commit is contained in:
parent
809c2d9a3b
commit
db268d4dfd
1 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue