md/raid5: remove unused working_disks variable
authorTom Rix <trix@redhat.com>
Mon, 27 Mar 2023 13:23:24 +0000 (09:23 -0400)
committerSong Liu <song@kernel.org>
Fri, 14 Apr 2023 07:42:04 +0000 (00:42 -0700)
commit7bc436121e557b1f5bebf5ad67e7ed3614d6df92
treee37054876068724f38570daa78f0e0ff4d6c784b
parent7cddb055bfda5f7b0be931e8ea750fc28bc18a27
md/raid5: remove unused working_disks variable

clang with W=1 reports
drivers/md/raid5.c:7719:6: error: variable 'working_disks'
  set but not used [-Werror,-Wunused-but-set-variable]
        int working_disks = 0;
            ^
This variable is not used so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230327132324.1769595-1-trix@redhat.com
drivers/md/raid5.c