Read the whole thread, 3 messages PreviousNext Re: [PATCH net-next v2] et131x: Remove NULL check of list_entry() FromJakub Kicinski <kuba@kernel.org> Date2024-08-26 20:27:27 Also inlkmlReply toYuesong Li, 2024-08-23 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
Keyboard shortcuts hback out one level jnext message in thread / next series-diff position kprevious message in thread / previous series-diff position ldrill in Escclose help / fold thread tree ?toggle this help