mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-24 18:39:34 +03:00
Cleanup: Remove NULL pointer check from dmu_send_impl()
The pointer is to a structure member, so it is never NULL. Coverity complained about this. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Closes #14042
This commit is contained in:
parent
fb823de9fb
commit
84243acb91
@ -2510,8 +2510,7 @@ dmu_send_impl(struct dmu_send_params *dspp)
|
||||
}
|
||||
|
||||
if (featureflags & DMU_BACKUP_FEATURE_RAW) {
|
||||
uint64_t ivset_guid = (ancestor_zb != NULL) ?
|
||||
ancestor_zb->zbm_ivset_guid : 0;
|
||||
uint64_t ivset_guid = ancestor_zb->zbm_ivset_guid;
|
||||
nvlist_t *keynvl = NULL;
|
||||
ASSERT(os->os_encrypted);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user