net: sched: act_nat: get rid of tcf_nat_walker and tcf_nat_search
authorZhengchao Shao <shaozhengchao@huawei.com>
Thu, 8 Sep 2022 04:14:46 +0000 (12:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Sep 2022 07:24:42 +0000 (08:24 +0100)
commit586fab138659408aa6c95d491775cb64570c7598
tree89fceac88735565ab18e2c5db4b0477dd38b30fe
parent7fadae53aa86d83c713a38547ec542084a04fe21
net: sched: act_nat: get rid of tcf_nat_walker and tcf_nat_search

tcf_nat_walker() and tcf_nat_search() do the same thing as generic
walk/search function, so remove them.

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_nat.c