Re: [PATCH v3] staging: nvec: Remove unused NVEC_PHD macro
From: Dan Carpenter
Date: Wed Aug 20 2025 - 02:31:31 EST
On Tue, Aug 19, 2025 at 08:44:30PM +0100, Mohammed Guermoud wrote:
> The NVEC_PHD macro is a debugging helper that is only enabled when
> NVEC_PS2_DEBUG is defined. As this flag is never defined in the kernel,
> the macro and all of its call sites are dead code.
>
> As suggested by Greg Kroah-Hartman, removing the code is the cleanest
> solution.
>
> Signed-off-by: Mohammed Guermoud <mohammed.guermoud@xxxxxxxxx>
> ---
Thanks!
Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
regards,
dan carpenter