Skip to contentSkip to conversation

netfilter: nf_tables: remove unused struct members

PATCH Applied Florian Westphal 2 participants 2 messages Nov 23, 2015 – Nov 25, 2015

Subsystems (2)
lore
Share & tools
lore

Florian Westphal

author maintainer
#0 lore raw

PATCH 1/1 netfilter: nf_tables: remove unused struct members

---
thoff and nhoff are not used anywhere,
payload expression uses skb_network_header() and xt.thoff as base offset.

include/net/netfilter/nf_tables.h +0 -2
index 5131ad4..6c6fd49 100644
@@ -19,8 +19,6 @@ struct nft_pktinfo {
 	const struct net_device		*out;
 	u8				pf;
 	u8				hook;
-	u8				nhoff;
-	u8				thoff;
 	u8				tprot;
 	/* for x_tables compatibility */
 	struct xt_action_param		xt;
Signature · 1 line
2.4.10