Re: [PATCH net-next v2] et131x: Remove NULL check of list_entry()
From: Jakub Kicinski
Date: Mon Aug 26 2024 - 16:27:41 EST
On Fri, 23 Aug 2024 09:27:37 +0800 Yuesong Li wrote:
> list_entry() will never return a NULL pointer, thus remove the
> check.
Unclear to me whether the intent of this code is to check for empty
list or this is defensive programming. Let's leave it be.
--
pw-bot: reject