net_sched: get rid of struct tcf_common
[cascardo/linux.git] / include / net / tc_act / tc_csum.h
index fa8f5fa..f31fb63 100644 (file)
@@ -5,11 +5,10 @@
 #include <net/act_api.h>
 
 struct tcf_csum {
-       struct tcf_common common;
+       struct tc_action common;
 
        u32 update_flags;
 };
-#define to_tcf_csum(a) \
-       container_of(a->priv,struct tcf_csum,common)
+#define to_tcf_csum(a) ((struct tcf_csum *)a)
 
 #endif /* __NET_TC_CSUM_H */