mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
module: icp: remove set-but-unused cd_miscdata
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12901
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user