lkml.org 
[lkml]   [2022]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net-next] octeon_ep: delete unnecessary NULL check
From
Date
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


\
 
 \ /
  Last update: 2022-05-16 12:51    [W:0.033 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site