]> granicus.if.org Git - ipset/commitdiff
Remove an unused macro
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 10 Dec 2014 06:31:01 +0000 (07:31 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 10 Dec 2014 06:31:01 +0000 (07:31 +0100)
kernel/include/linux/netfilter/ipset/ip_set.h

index 08dd689c177002b25696f07719b3fafc20f93485..c65c21856da82502c3caa0221b7e138c8f0c281f 100644 (file)
@@ -326,10 +326,6 @@ ip_set_update_counter(struct ip_set_counter *counter,
        }
 }
 
-#define ip_set_rcu_deref(t)            \
-       rcu_dereference_index_check(t,  \
-               rcu_read_lock_held() || rcu_read_lock_bh_held())
-
 static inline void
 ip_set_get_skbinfo(struct ip_set_skbinfo *skbinfo,
                      const struct ip_set_ext *ext,