Home
last modified time | relevance | path

Searched hist:"4 bf8594a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/sched/
H A Dsch_gred.c4bf8594a Tue Aug 30 23:14:52 CDT 2022 Zhengchao Shao <shaozhengchao@huawei.com> net: sched: gred: remove NULL check before free table->tab in gred_destroy()

The kfree invoked by gred_destroy_vq checks whether the input parameter
is empty. Therefore, gred_destroy() doesn't need to check table->tab.

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20220831041452.33026-1-shaozhengchao@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>