Re: [PATCH v2 2/3] tools/mm/slabinfo: remove dead assignment in get_obj_and_str()

From: SeongJae Park

Date: Mon May 18 2026 - 20:33:12 EST


On Mon, 18 May 2026 14:21:58 +0800 Xuewen Wang <wangxuewen@xxxxxxxxxx> wrote:

> The assignment `x = NULL` sets the local parameter variable instead of
> `*x`, which is a no-op since `*x` was already set to NULL on the line
> above. Remove the dead assignment.
>
> Signed-off-by: Xuewen Wang <wangxuewen@xxxxxxxxxx>

Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>


Thanks,
SJ

[...]