aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_nat.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/net/tc_act/tc_nat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/net/tc_act/tc_nat.h b/include/net/tc_act/tc_nat.h
index 63d8e9ca9d99..a91ad3ad565e 100644
--- a/include/net/tc_act/tc_nat.h
+++ b/include/net/tc_act/tc_nat.h
@@ -13,9 +13,6 @@ struct tcf_nat {
u32 flags;
};
-static inline struct tcf_nat *to_tcf_nat(struct tc_action *a)
-{
- return container_of(a->priv, struct tcf_nat, common);
-}
+#define to_tcf_nat(a) ((struct tcf_nat *)a)
#endif /* __NET_TC_NAT_H */