net_sched: move tc_action into tcf_common
[cascardo/linux.git] / include / net / tc_act / tc_pedit.h
index 5b80998..2cccfba 100644 (file)
@@ -9,7 +9,6 @@ struct tcf_pedit {
        unsigned char           tcfp_flags;
        struct tc_pedit_key     *tcfp_keys;
 };
-#define to_pedit(a) \
-       container_of(a->priv, struct tcf_pedit, common)
+#define to_pedit(a) ((struct tcf_pedit *)a)
 
 #endif /* __NET_TC_PED_H */