]> git.proxmox.com Git - mirror_zfs.git/commit
Remove dead code and cleanup scoping in dmu_send.c
authorMatthew Macy <mmacy@freebsd.org>
Mon, 14 Oct 2019 02:25:19 +0000 (19:25 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 14 Oct 2019 02:25:19 +0000 (19:25 -0700)
commit177c79dfbee633b70e7d373ff83c6a2d47625a17
tree55f32b04f3e0f393607df1bf4ea0f4749af0b130
parent511fce6b1f939bd78687924aaa35dc83f8056ced
Remove dead code and cleanup scoping in dmu_send.c

This addresses a number of problems with dmu_send.c:

* bp_span is unused which makes clang complain
* dump_write conflicts with FreeBSD's existing core dump code
* range_alloc is private to the file and not declared in any headers
  causing clang to complain

Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9432
module/zfs/dmu_send.c