diff options
author | наб <[email protected]> | 2021-12-25 03:33:19 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-02-15 16:25:13 -0800 |
commit | 64e82cea137d6d60d724e0c632e5cad9fd7d5f75 (patch) | |
tree | 34ac72360ac25ae2b89ea212eb2385411d0b912a /module/os | |
parent | 739afd9475494ef8443a7f8e251bf2aaff895f35 (diff) |
module: icp: remove set-but-unused cd_miscdata
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12901
Diffstat (limited to 'module/os')
-rw-r--r-- | module/os/linux/zfs/zio_crypt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/module/os/linux/zfs/zio_crypt.c b/module/os/linux/zfs/zio_crypt.c index 909246f20..31126a78b 100644 --- a/module/os/linux/zfs/zio_crypt.c +++ b/module/os/linux/zfs/zio_crypt.c @@ -438,13 +438,11 @@ zio_do_crypt_uio(boolean_t encrypt, uint64_t crypt, crypto_key_t *key, plaindata.cd_format = CRYPTO_DATA_UIO; plaindata.cd_offset = 0; plaindata.cd_uio = puio; - plaindata.cd_miscdata = NULL; plaindata.cd_length = plain_full_len; cipherdata.cd_format = CRYPTO_DATA_UIO; cipherdata.cd_offset = 0; cipherdata.cd_uio = cuio; - cipherdata.cd_miscdata = NULL; cipherdata.cd_length = datalen + maclen; /* perform the actual encryption */ |