net_sched: get rid of struct tcf_common
After the previous patch, struct tc_action should be enough to represent the generic tc action, tcf_common is not necessary any more. This patch gets rid of it to make tc action code more readable. Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a85a970af2
commit
ec0595cc44
@@ -5,7 +5,7 @@
|
||||
#include <net/act_api.h>
|
||||
|
||||
struct tcf_nat {
|
||||
struct tcf_common common;
|
||||
struct tc_action common;
|
||||
|
||||
__be32 old_addr;
|
||||
__be32 new_addr;
|
||||
|
Reference in New Issue
Block a user