net: sched: act_police: get rid of tcf_police_walker and tcf_police_search
authorZhengchao Shao <shaozhengchao@huawei.com>
Thu, 8 Sep 2022 04:14:48 +0000 (12:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Sep 2022 07:24:42 +0000 (08:24 +0100)
commit0abf7f8f82bb6c957add8a781281f28ee3f16e15
treea7408b8fca22e38fcfa51dd721f089992517185b
parentb915d86981fe1fd7501fe44459ed70d2b9c3ca59
net: sched: act_police: get rid of tcf_police_walker and tcf_police_search

tcf_police_walker() and tcf_police_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_police.c