Skip to contentSkip to conversation

ipset: remove unused function __ip_set_get_netlink

PATCH Applied Aaron Conole 3 participants 4 messages Apr 10, 2017 – Apr 15, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipset: remove unused function __ip_set_get_netlink

There are no in-tree callers.

---
 net/netfilter/ipset/ip_set_core.c | 8 --------
 1 file changed, 8 deletions(-)
net/netfilter/ipset/ip_set_core.c +0 -8
index c296f9b..68ba531 100644
@@ -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);
Signature · 1 line
2.9.3
#1 lore raw
Quoted 1 line · Aaron Conole

There are no in-tree callers.

@Jozsef, let me know if I should just take this to save you a pull request.

Thanks.

Quoted 31 lines
---
 net/netfilter/ipset/ip_set_core.c | 8 --------
 1 file changed, 8 deletions(-)
net/netfilter/ipset/ip_set_core.c +0 -8
index c296f9b..68ba531 100644
@@ -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);
Signature · 6 lines
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

Hi Pablo,

Quoted 5 lines · Pablo Neira Ayuso
Quoted 1 line · Aaron Conole

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.

Best regards,
Jozsef

Quoted 27 lines
Quoted 27 lines
---
 net/netfilter/ipset/ip_set_core.c | 8 --------
 1 file changed, 8 deletions(-)
net/netfilter/ipset/ip_set_core.c +0 -8
index c296f9b..68ba531 100644
@@ -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);
Signature · 1 line
2.9.3
Quoted 9 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

-
E-mail : [email protected], [email protected] 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
maintainer Applied
#3 lore raw
Quoted 5 lines · Jozsef Kadlecsik

Hi Pablo,

Quoted 1 line · Pablo Neira Ayuso

On Mon, Apr 10, 2017 at 03:52:37PM -0400, Aaron Conole wrote:

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

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.

Applied, thanks Jozsef.