Whamcloud - gitweb
LU-16518 mdt: fix unused-but-set-variable warnings 84/58184/2
authorTimothy Day <timday@amazon.com>
Mon, 24 Feb 2025 06:38:13 +0000 (01:38 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Mar 2025 08:09:14 +0000 (08:09 +0000)
commit94aa8ce7dd1ba2e05139b1a1af10667e068dbd05
treecce8672f21d4e238b02d6a97589457a98fb2d2e7
parent3888ecb295762c5d5bc59d231e871703445d31f0
LU-16518 mdt: fix unused-but-set-variable warnings

Remove unused variables in various parts of the MDT code.
This silences the Clang compiler -Wunused-but-set-variable
warning.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I2c42e9ce86ac854a49f8b12f5325ce1f34b8ecc3
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58184
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Max Wang <wamax@amazon.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_io.c