]> git.ipfire.org Git - thirdparty/linux.git/commit
fs/dlm/dir: remove unuse variable count_match
authorAlex Shi <alexs@kernel.org>
Tue, 20 Jan 2026 15:35:09 +0000 (10:35 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 20 Jan 2026 18:08:45 +0000 (12:08 -0600)
commit6dda4f0a31b0b8c0824cb63ebda600e6da886e1d
treed6115c9f1050ea5c9aaf51a36c547fc5109f7bab
parent596ce53d647ca7c8d6408a4148dc44ead39e8474
fs/dlm/dir: remove unuse variable count_match

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@kernel.org>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dir.c