Re: [PATCH net-next v2] et131x: Remove NULL check of list_entry()

From: Simon Horman
Date: Fri Aug 23 2024 - 04:28:54 EST


On Fri, Aug 23, 2024 at 09:27:37AM +0800, Yuesong Li wrote:
> list_entry() will never return a NULL pointer, thus remove the
> check.
>
> Signed-off-by: Yuesong Li <liyuesong@xxxxxxxx>
> Reviewed-by: Mark Einon <mark.einon@xxxxxxxxx>
> ---
> changes v2:
> - update the short log and patch name

Thanks for the update.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>