All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink
@ 2017-04-10 19:52 Aaron Conole
  2017-04-13 23:28 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 4+ messages in thread
From: Aaron Conole @ 2017-04-10 19:52 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Pablo Neira Ayuso, Jozsef Kadlecsik, netdev, linux-kernel

There are no in-tree callers.

Signed-off-by: Aaron Conole <aconole@bytheb.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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink
  2017-04-10 19:52 [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink Aaron Conole
@ 2017-04-13 23:28 ` Pablo Neira Ayuso
  2017-04-14 14:15   ` Jozsef Kadlecsik
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Neira Ayuso @ 2017-04-13 23:28 UTC (permalink / raw)
  To: Jozsef Kadlecsik; +Cc: netdev, Aaron Conole, linux-kernel, netfilter-devel

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.

Thanks.

> Signed-off-by: Aaron Conole <aconole@bytheb.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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink
  2017-04-13 23:28 ` Pablo Neira Ayuso
@ 2017-04-14 14:15   ` Jozsef Kadlecsik
  2017-04-15  8:45     ` Pablo Neira Ayuso
  0 siblings, 1 reply; 4+ messages in thread
From: Jozsef Kadlecsik @ 2017-04-14 14:15 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netdev, Aaron Conole, linux-kernel, netfilter-devel

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@blackhole.kfki.hu>

Best regards,
Jozsef

> > Signed-off-by: Aaron Conole <aconole@bytheb.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@vger.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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-
E-mail  : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink
  2017-04-14 14:15   ` Jozsef Kadlecsik
@ 2017-04-15  8:45     ` Pablo Neira Ayuso
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2017-04-15  8:45 UTC (permalink / raw)
  To: Jozsef Kadlecsik; +Cc: netdev, Aaron Conole, linux-kernel, netfilter-devel

On Fri, Apr 14, 2017 at 04:15:41PM +0200, Jozsef Kadlecsik wrote:
> 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@blackhole.kfki.hu>

Applied, thanks Jozsef.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-15  8:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10 19:52 [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink Aaron Conole
2017-04-13 23:28 ` Pablo Neira Ayuso
2017-04-14 14:15   ` Jozsef Kadlecsik
2017-04-15  8:45     ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.