diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-02 12:50:12 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-08 18:11:05 +0100 |
commit | 0befd061af59c4ba426588930f09eb9ea2475534 (patch) | |
tree | 88f04d0bf5d46804828c7870b0b0d439ac4ac9e2 /include/net | |
parent | a7f87b47e67e4341f6175cdb80e5c2eaadf30dcb (diff) | |
download | linux-0befd061af59c4ba426588930f09eb9ea2475534.tar.gz linux-0befd061af59c4ba426588930f09eb9ea2475534.tar.bz2 linux-0befd061af59c4ba426588930f09eb9ea2475534.zip |
netfilter: nf_tables: remove nft_dereference()
This macro is unnecessary, it just hides details for one single caller.
nfnl_dereference() is just enough.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_tables.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index e040b6151acc..e3ec02fd0f67 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -1113,9 +1113,6 @@ void nft_trace_init(struct nft_traceinfo *info, const struct nft_pktinfo *pkt, void nft_trace_notify(struct nft_traceinfo *info); -#define nft_dereference(p) \ - nfnl_dereference(p, NFNL_SUBSYS_NFTABLES) - #define MODULE_ALIAS_NFT_FAMILY(family) \ MODULE_ALIAS("nft-afinfo-" __stringify(family)) |