aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_ipt.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/net/tc_act/tc_ipt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/tc_act/tc_ipt.h b/include/net/tc_act/tc_ipt.h
index c0f4193f432c..c22ae7ab66ed 100644
--- a/include/net/tc_act/tc_ipt.h
+++ b/include/net/tc_act/tc_ipt.h
@@ -11,7 +11,6 @@ struct tcf_ipt {
char *tcfi_tname;
struct xt_entry_target *tcfi_t;
};
-#define to_ipt(a) \
- container_of(a->priv, struct tcf_ipt, common)
+#define to_ipt(a) ((struct tcf_ipt *)a)
#endif /* __NET_TC_IPT_H */