net_sched: get rid of struct tcf_common
[cascardo/linux.git] / include / net / tc_act / tc_defact.h
index 9763dcb..d47f040 100644 (file)
@@ -4,11 +4,10 @@
 #include <net/act_api.h>
 
 struct tcf_defact {
-       struct tcf_common       common;
-       u32                     tcfd_datalen;
-       void                    *tcfd_defdata;
+       struct tc_action        common;
+       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 */