[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK-6q+jkL6ZVD3W7byROpUBwSEz4PP2vQcVdkfuaKbBAQUPyog@mail.gmail.com>
Date: Wed, 7 Jan 2026 09:14:29 -0500
From: Alexander Aring <aahringo@...hat.com>
To: alexs@...nel.org
Cc: David Teigland <teigland@...hat.com>,
"open list:DISTRIBUTED LOCK MANAGER (DLM)" <gfs2@...ts.linux.dev>, open list <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH] fs/dlm/dir: remove unuse varible count_match
Hi,
On Wed, Jan 7, 2026 at 2:36 AM <alexs@...nel.org> wrote:
>
> From: Alex Shi <alexs@...nel.org>
>
> The variable was never used after introduced. Better to comment it if we
> want to keep the info.
>
> fs/dlm/dir.c:65:26: error: variable 'count_match' set but not used [-Werror,-Wunused-but-set-variable]
> 65 | unsigned int count = 0, count_match = 0, count_bad = 0, count_add = 0;
> | ^
> 1 error generated.
>
> Signed-off-by: Alex Shi <alexs@...nel.org>
> Cc: gfs2@...ts.linux.dev
> Cc: Alexander Aring <aahringo@...hat.com>
> Cc: David Teigland <teigland@...hat.com>
Acked-by: Alexander Aring <aahringo@...hat.com>
- Alex
Powered by blists - more mailing lists