summaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_pedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_pedit.h')
-rw-r--r--include/net/tc_act/tc_pedit.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/tc_act/tc_pedit.h b/include/net/tc_act/tc_pedit.h
index 5b80998879c7..2cccfbaae800 100644
--- a/include/net/tc_act/tc_pedit.h
+++ b/include/net/tc_act/tc_pedit.h
@@ -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 */
OpenPOWER on IntegriCloud