]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - include/net/tc_act/tc_pedit.h
net_sched: move tc_action into tcf_common
[thirdparty/kernel/stable.git] / include / net / tc_act / tc_pedit.h
index 5b80998879c7cf6c0bf7df280556de05b5831260..2cccfbaae8004c0f5bbf78640ba4de3f508a1b60 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 */