net_sched: move tc_action into tcf_common
[cascardo/linux.git] / include / net / tc_act / tc_defact.h
index ab9b5d6..e25b4eb 100644 (file)
@@ -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 */