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

From: Paolo Abeni
Date: Thu May 12 2022 - 04:47:47 EST


On Wed, 2022-05-11 at 00:25 -0700, Bernard Zhao wrote:
> devm_kfree check the point, there is no need to check before
> devm_kfree call.
> This change is to cleanup the code a bit.
>
> Signed-off-by: Bernard Zhao <zhaojunkui2008@xxxxxxx>
> Signed-off-by: Bernard Zhao <bernard@xxxxxxxx>

The patch looks good, but the somewhat strange From: header is
confusing pw and you probably want to drop one of the SoB above, please
re-send, thanks!

Paolo