HomeFreeBSD

Cleanup: Remove NULL pointer check from dmu_send_impl()

Description

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

Details

Provenance
Richard Yao <richard.yao@alumni.stonybrook.edu>Authored on Oct 17 2022, 9:57 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 18 2022, 10:40 PM
Parents
rGfb823de9fb08: Cleanup: Delete dead code from send_merge_thread()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG84243acb91b7: Cleanup: Remove NULL pointer check from dmu_send_impl() (authored by Richard Yao <richard.yao@alumni.stonybrook.edu>).Oct 18 2022, 10:40 PM