aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorluozhengzheng <[email protected]>2016-08-31 19:07:36 +0800
committerBrian Behlendorf <[email protected]>2016-09-01 11:39:45 -0700
commit0b284702b75aa712a7d1353b93e19d5b2c783f27 (patch)
treed96ff28e537188cded47946f1f6ca4f9372f1827 /module/zfs
parentca8587a5172628e282b5b0ac1b2165b212e35601 (diff)
Delete unreferenced function zfs_ereport_send_interim_checksum
Signed-off-by: luozhengzheng <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #5055
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/zfs_fm.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/module/zfs/zfs_fm.c b/module/zfs/zfs_fm.c
index a75997bd8..0871fa95b 100644
--- a/module/zfs/zfs_fm.c
+++ b/module/zfs/zfs_fm.c
@@ -112,10 +112,6 @@ zfs_zevent_post_cb(nvlist_t *nvl, nvlist_t *detector)
fm_nvlist_destroy(detector, FM_NVA_FREE);
}
-static void
-zfs_zevent_post_cb_noop(nvlist_t *nvl, nvlist_t *detector)
-{
-}
static void
zfs_ereport_start(nvlist_t **ereport_out, nvlist_t **detector_out,
@@ -824,14 +820,6 @@ zfs_ereport_free_checksum(zio_cksum_report_t *rpt)
kmem_free(rpt, sizeof (*rpt));
}
-void
-zfs_ereport_send_interim_checksum(zio_cksum_report_t *report)
-{
-#ifdef _KERNEL
- zfs_zevent_post(report->zcr_ereport, report->zcr_detector,
- zfs_zevent_post_cb_noop);
-#endif
-}
void
zfs_ereport_post_checksum(spa_t *spa, vdev_t *vd,