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

From: Andy Shevchenko

Date: Wed Feb 04 2026 - 04:46:41 EST


On Wed, Feb 04, 2026 at 03:07:05AM +0200, Andy Shevchenko wrote:
> 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.

Nevermind, I will send a v2 where it will be part of the series.

--
With Best Regards,
Andy Shevchenko