Re: [PATCH] ethernet/ti: delete if NULL check befort devm_kfree

From: patchwork-bot+netdevbpf
Date: Tue May 17 2022 - 05:40:19 EST


Hello:

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

On Sun, 15 May 2022 18:52:05 -0700 you wrote:
> devm_kfree check the pointer, there is no need to check before
> devm_kfree call.
> This change is to cleanup the code a bit.
>
> Signed-off-by: Bernard Zhao <bernard@xxxxxxxx>
> ---
> drivers/net/ethernet/ti/am65-cpsw-qos.c | 13 ++++---------
> 1 file changed, 4 insertions(+), 9 deletions(-)

Here is the summary with links:
- ethernet/ti: delete if NULL check befort devm_kfree
https://git.kernel.org/netdev/net-next/c/1588f5a91b16

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