Re: [PATCH net-next] net: sched: red: remove unused input parameter in red_get_flags()

From: shaozhengchao
Date: Sun Aug 28 2022 - 21:26:55 EST




On 2022/8/28 2:46, Cong Wang wrote:
On Sat, Aug 27, 2022 at 12:35:45PM +0800, Zhengchao Shao wrote:
The input parameter supported_mask is unused in red_get_flags().
Remove it.


It looks like this is incomplete code unification of the following
commit:

commit 14bc175d9c885c86239de3d730eea85ad67bfe7b
Author: Petr Machata <petrm@xxxxxxxxxxxx>
Date: Fri Mar 13 01:10:56 2020 +0200

net: sched: Allow extending set of supported RED flags

How about completing it? ;)

Thanks.

Hi Wang:
Thank you for your reply. Your suggestion is good. I will try to complete it later.

Zhengchao Shao