Re: [PATCH v4 21/22] mm/zsmalloc: fix build warning from lkp testing

From: Vishal Moola
Date: Fri Aug 02 2024 - 15:13:33 EST


On Mon, Jul 29, 2024 at 07:25:33PM +0800, alexs@xxxxxxxxxx wrote:
> From: Alex Shi <alexs@xxxxxxxxxx>
>
> LKP reported the following warning w/o CONFIG_DEBUG_VM:
> mm/zsmalloc.c:471:12: warning: function 'is_first_zpdesc' is not
> needed and will not be emitted [-Wunneeded-internal-declaration]
> To remove this warning, better to incline the function is_first_zpdesc

In future iterations of the series, just fold this into the patch its
fixing. It makes reviewing easier.