Re: [PATCH V3 net-next 5/8] net: hns3: set the freed pointers to NULL when lifetime is not end

From: Jijie Shao
Date: Sun Jun 22 2025 - 21:45:06 EST



on 2025/6/21 23:33, Jakub Kicinski wrote:
On Thu, 19 Jun 2025 22:40:54 +0800 Jijie Shao wrote:
ChangeLog:
v2 -> v3:
- Remove unnecessary pointer set to NULL operation, suggested by Simon Horman.
v2: https://lore.kernel.org/all/20250617010255.1183069-1-shaojijie@xxxxxxxxxx/
You removed a single case, but I'm pretty sure Simon meant _all_
cases setting local variables to NULL in this patch are pointless.

Ok, I will drop this patch in V4

Thanks,
Jijie Shao