Re: [PATCH v1 1/1] nfs/blocklayout: Fix compilation error (`make W=1`) in bl_write_pagelist()

From: Andy Shevchenko

Date: Tue Feb 03 2026 - 20:09:42 EST


On Wed, Feb 04, 2026 at 02:04:02AM +0100, Andy Shevchenko wrote:
> Clang compiler is not happy about set but unused variable
> (when dprintk() is no-op):
>
> .../blocklayout/blocklayout.c:384:9: error: variable 'count' set but not used [-Werror,-Wunused-but-set-variable]
>
> Remove a leftover from the previous cleanup.

Note, if https://lore.kernel.org/r/20260204010415.2149607-1-andriy.shevchenko@xxxxxxxxxxxxxxx
is applied first, it will shadow the error here, this patch is needed anyway.

--
With Best Regards,
Andy Shevchenko