mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
module/zfs: vdev_removal: spa_vdev_remove_thread: remove unused variable
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12187
This commit is contained in:
parent
6bab6ee838
commit
f423411c44
@ -1514,10 +1514,6 @@ spa_vdev_remove_thread(void *arg)
|
||||
* specified by zfs_removal_suspend_progress. We do this
|
||||
* solely from the test suite or during debugging.
|
||||
*/
|
||||
uint64_t bytes_copied =
|
||||
spa->spa_removing_phys.sr_copied;
|
||||
for (int i = 0; i < TXG_SIZE; i++)
|
||||
bytes_copied += svr->svr_bytes_done[i];
|
||||
while (zfs_removal_suspend_progress &&
|
||||
!svr->svr_thread_exit)
|
||||
delay(hz);
|
||||
|
Loading…
Reference in New Issue
Block a user