projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net_sched: move tc_action into tcf_common
[cascardo/linux.git]
/
include
/
net
/
tc_act
/
tc_nat.h
diff --git
a/include/net/tc_act/tc_nat.h
b/include/net/tc_act/tc_nat.h
index
63d8e9c
..
a91ad3a
100644
(file)
--- a/
include/net/tc_act/tc_nat.h
+++ b/
include/net/tc_act/tc_nat.h
@@
-13,9
+13,6
@@
struct tcf_nat {
u32 flags;
};
-static inline struct tcf_nat *to_tcf_nat(struct tc_action *a)
-{
- return container_of(a->priv, struct tcf_nat, common);
-}
+#define to_tcf_nat(a) ((struct tcf_nat *)a)
#endif /* __NET_TC_NAT_H */