net: sched: act_sample: get rid of tcf_sample_walker and tcf_sample_search
authorZhengchao Shao <shaozhengchao@huawei.com>
Thu, 8 Sep 2022 04:14:49 +0000 (12:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Sep 2022 07:24:42 +0000 (08:24 +0100)
commit400d66332cd4d6eace52144ca690d231217b3862
treee0d613f229abe5fbd17d2e4ba8104a4029c431b9
parent0abf7f8f82bb6c957add8a781281f28ee3f16e15
net: sched: act_sample: get rid of tcf_sample_walker and tcf_sample_search

tcf_sample_walker() and tcf_sample_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_sample.c