Messages in this thread | | | Subject | Re: [PATCH] ethernet/ti: delete if NULL check befort devm_kfree | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 17 May 2022 09:40:11 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by Paolo Abeni <pabeni@redhat.com>:
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@vivo.com> > --- > 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
| |