diff options
author | John Garry <john.g.garry@oracle.com> | 2025-07-09 10:48:14 +0000 |
---|---|---|
committer | Yu Kuai <yukuai3@huawei.com> | 2025-07-17 00:02:05 +0800 |
commit | bc1c2f0ae355f7e30b5baecdfb89d2b148aa0515 (patch) | |
tree | a80f004ea2098e6b3776f575cbfb600b7a069183 /scripts/lib/kdoc/kdoc_re.py | |
parent | c0ffeb648000acdc932da7a9d33fd65e9263c54c (diff) |
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 <john.g.garry@oracle.com>
Link: https://lore.kernel.org/linux-raid/20250709104814.2307276-1-john.g.garry@oracle.com
Signed-off-by: Yu Kuai <yukuai@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions