mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Remove useless condition in reencryption loop.
(always true)
This commit is contained in:
@@ -3524,7 +3524,7 @@ int crypt_reencrypt_run(
|
||||
rs = REENC_OK;
|
||||
|
||||
/* update reencrypt keyslot protection parameters in memory only */
|
||||
if (!quit && (rh->device_size > rh->progress)) {
|
||||
if (rh->device_size > rh->progress) {
|
||||
r = reencrypt_keyslot_update(cd, rh);
|
||||
if (r < 0) {
|
||||
log_dbg(cd, "Keyslot update failed.");
|
||||
|
||||
Reference in New Issue
Block a user