Most action modules have their own module and net registration and unregistration interfaces, so add macros helper and replace them with it. Zhengchao Shao (2): net: sched: act_api: add helper macro for tcf_action in module and net init/exit net: sched: use module_net_tcf_action macro when module and net init/exit in action include/net/act_api.h | 26 ++++++++++++++++++++++++++ net/sched/act_bpf.c | 32 +------------------------------- net/sched/act_connmark.c | 31 +------------------------------ net/sched/act_csum.c | 32 +------------------------------- net/sched/act_ctinfo.c | 31 +------------------------------ net/sched/act_gate.c | 31 +------------------------------ net/sched/act_ife.c | 32 +------------------------------- net/sched/act_mpls.c | 32 +------------------------------- net/sched/act_nat.c | 32 +------------------------------- net/sched/act_pedit.c | 32 +------------------------------- net/sched/act_police.c | 32 +------------------------------- net/sched/act_sample.c | 32 +------------------------------- net/sched/act_skbedit.c | 32 +------------------------------- net/sched/act_skbmod.c | 32 +------------------------------- net/sched/act_tunnel_key.c | 32 +------------------------------- net/sched/act_vlan.c | 32 +------------------------------- 16 files changed, 41 insertions(+), 462 deletions(-) -- 2.17.1