On 11/27/24 1:46 AM, Hou Tao wrote:
From: Hou Tao <houtao1@xxxxxxxxxx> There is no need to call kfree(im_node) when updating element fails, because im_node must be NULL. Remove the unnecessary kfree() for im_node. Reviewed-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> Signed-off-by: Hou Tao <houtao1@xxxxxxxxxx>
Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx> Small nit if you respin, or follow-up: Given we remove this, the im_node = NULL init is then also not needed anymore.