Messages in this thread | | | Subject | Re: [PATCH net-next] octeon_ep: delete unnecessary NULL check | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 16 May 2022 10:50:12 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>:
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@huawei.com> > --- > 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
| |