diff options
| author | John Garry <[email protected]> | 2025-07-09 10:48:14 +0000 |
|---|---|---|
| committer | Yu Kuai <[email protected]> | 2025-07-16 16:02:05 +0000 |
| commit | bc1c2f0ae355f7e30b5baecdfb89d2b148aa0515 (patch) | |
| tree | a80f004ea2098e6b3776f575cbfb600b7a069183 /lib/crypto/mpi/mpi-add.c | |
| parent | md: allow removing faulty rdev during resync (diff) | |
| download | kernel-bc1c2f0ae355f7e30b5baecdfb89d2b148aa0515.tar.gz kernel-bc1c2f0ae355f7e30b5baecdfb89d2b148aa0515.zip | |
md/raid10: fix set but not used variable in sync_request_write()
Building with W=1 reports the following:
drivers/md/raid10.c: In function ‘sync_request_write’:
drivers/md/raid10.c:2441:21: error: variable ‘d’ set but not used [-Werror=unused-but-set-variable]
2441 | int d;
| ^
cc1: all warnings being treated as errors
Remove the usage of that variable.
Fixes: 752d0464b78a ("md: clean up accounting for issued sync IO")
Signed-off-by: John Garry <[email protected]>
Link: https://lore.kernel.org/linux-raid/[email protected]
Signed-off-by: Yu Kuai <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
