aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs/zio_crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/os/linux/zfs/zio_crypt.c')
-rw-r--r--module/os/linux/zfs/zio_crypt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/os/linux/zfs/zio_crypt.c b/module/os/linux/zfs/zio_crypt.c
index 2bc1482e9..6f2bf7ed7 100644
--- a/module/os/linux/zfs/zio_crypt.c
+++ b/module/os/linux/zfs/zio_crypt.c
@@ -1968,7 +1968,6 @@ zio_do_crypt_data(boolean_t encrypt, zio_crypt_key_t *key,
if (locked) {
rw_exit(&key->zk_salt_lock);
- locked = B_FALSE;
}
if (authbuf != NULL)