aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_defact.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/net/tc_act/tc_defact.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/tc_act/tc_defact.h b/include/net/tc_act/tc_defact.h
index ab9b5d6be67b..e25b4eb4fc66 100644
--- a/include/net/tc_act/tc_defact.h
+++ b/include/net/tc_act/tc_defact.h
@@ -8,7 +8,6 @@ struct tcf_defact {
u32 tcfd_datalen;
void *tcfd_defdata;
};
-#define to_defact(a) \
- container_of(a->priv, struct tcf_defact, common)
+#define to_defact(a) ((struct tcf_defact *)a)
#endif /* __NET_TC_DEF_H */