Re: [PATCH net-next] net: sched: gred: remove NULL check before free table->tab in gred_destroy()

From: patchwork-bot+netdevbpf
Date: Thu Sep 01 2022 - 09:42:17 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Wed, 31 Aug 2022 12:14:52 +0800 you wrote:
> 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@xxxxxxxxxx>
> ---
> net/sched/sch_gred.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)

Here is the summary with links:
- [net-next] net: sched: gred: remove NULL check before free table->tab in gred_destroy()
https://git.kernel.org/netdev/net-next/c/4bf8594a8036

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html