[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1704141612410.5084@blackhole.kfki.hu>
Date: Fri, 14 Apr 2017 16:15:41 +0200 (CEST)
From: Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>
To: Pablo Neira Ayuso <pablo@...filter.org>
cc: netdev@...r.kernel.org, Aaron Conole <aconole@...heb.org>,
linux-kernel@...r.kernel.org, netfilter-devel@...r.kernel.org
Subject: Re: [PATCH nf-next] ipset: remove unused function
__ip_set_get_netlink
Hi Pablo,
On Fri, 14 Apr 2017, Pablo Neira Ayuso wrote:
> On Mon, Apr 10, 2017 at 03:52:37PM -0400, Aaron Conole wrote:
> > There are no in-tree callers.
>
> @Jozsef, let me know if I should just take this to save you a pull
> request.
Just take it, thank you.
Acked-by: Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>
Best regards,
Jozsef
> > Signed-off-by: Aaron Conole <aconole@...heb.org>
> > ---
> > net/netfilter/ipset/ip_set_core.c | 8 --------
> > 1 file changed, 8 deletions(-)
> >
> > diff --git a/net/netfilter/ipset/ip_set_core.c b/net/netfilter/ipset/ip_set_core.c
> > index c296f9b..68ba531 100644
> > --- a/net/netfilter/ipset/ip_set_core.c
> > +++ b/net/netfilter/ipset/ip_set_core.c
> > @@ -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);
> > --
> > 2.9.3
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> > the body of a message to majordomo@...r.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
-
E-mail : kadlec@...ckhole.kfki.hu, kadlecsik.jozsef@...ner.mta.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
H-1525 Budapest 114, POB. 49, Hungary
Powered by blists - more mailing lists