Messages in this thread | | | Date | Thu, 08 Aug 2019 11:38:13 -0700 (PDT) | Subject | Re: [PATCH net-next] taprio: remove unused variable 'entry_list_policy' | From | David Miller <> |
| |
From: YueHaibing <yuehaibing@huawei.com> Date: Thu, 8 Aug 2019 22:26:23 +0800
> net/sched/sch_taprio.c:680:32: warning: > entry_list_policy defined but not used [-Wunused-const-variable=] > > It is not used since commit a3d43c0d56f1 ("taprio: Add > support adding an admin schedule") > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
This is probably unintentional and a bug, we should be using that policy value to validate that the sched list is indeed a nested attribute.
I'm not applying this without at least a better and clear commit message explaining why we shouldn't be using this policy any more.
| |