Re: [PATCH net-next] net/sched: remove return value of unregister_tcf_proto_ops

From: Jakub Kicinski
Date: Tue Jul 05 2022 - 21:43:35 EST


On Mon, 4 Jul 2022 20:43:22 +0800 Zhengchao Shao wrote:
> Return value of unregister_tcf_proto_ops is useless, remove it.

s/useless/unused/ ?

Should we add a WARN if the ops getting removed can't be found or there
are callers which depend on handling unregistered ops without a warning?