Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1620689
| From | Aaron Conole <aconole@bytheb.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink |
| Date | 2017-04-10 22:00 +0200 |
| Message-ID | <tuNDK-5ev-63@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH nf-next] ipset: remove unused function __ip_set_get_netlink Aaron Conole <aconole@bytheb.org> - 2017-04-10 22:00 +0200
Re: [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink Pablo Neira Ayuso <pablo@netfilter.org> - 2017-04-14 01:30 +0200
Re: [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> - 2017-04-14 16:30 +0200
Re: [PATCH nf-next] ipset: remove unused function __ip_set_get_netlink Pablo Neira Ayuso <pablo@netfilter.org> - 2017-04-15 10:50 +0200
csiph-web