aboutsummaryrefslogtreecommitdiff
path: root/include/net/tc_act/tc_csum.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_csum.h')
-rw-r--r--include/net/tc_act/tc_csum.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/tc_act/tc_csum.h b/include/net/tc_act/tc_csum.h
index fa8f5fac65e9..1a9ef15d573b 100644
--- a/include/net/tc_act/tc_csum.h
+++ b/include/net/tc_act/tc_csum.h
@@ -9,7 +9,6 @@ struct tcf_csum {
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 */