Re: [PATCH net-next] octeon_ep: delete unnecessary NULL check

From: patchwork-bot+netdevbpf
Date: Mon May 16 2022 - 06:50:22 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Fri, 13 May 2022 15:29:28 +0800 you wrote:
> vfree(NULL) is safe. NULL check before vfree() is not needed.
> Delete them to simplify the code.
>
> Signed-off-by: Ziyang Xuan <william.xuanziyang@xxxxxxxxxx>
> ---
> drivers/net/ethernet/marvell/octeon_ep/octep_main.c | 3 +--
> drivers/net/ethernet/marvell/octeon_ep/octep_rx.c | 3 +--
> drivers/net/ethernet/marvell/octeon_ep/octep_tx.c | 3 +--
> 3 files changed, 3 insertions(+), 6 deletions(-)

Here is the summary with links:
- [net-next] octeon_ep: delete unnecessary NULL check
https://git.kernel.org/netdev/net-next/c/1dee43c2c6f1

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