summaryrefslogtreecommitdiffstats
path: root/module/zfs/fm.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/fm.c')
-rw-r--r--module/zfs/fm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/module/zfs/fm.c b/module/zfs/fm.c
index 09e7913b9..2a425a740 100644
--- a/module/zfs/fm.c
+++ b/module/zfs/fm.c
@@ -426,8 +426,6 @@ zfs_zevent_alloc(void)
zevent_t *ev;
ev = kmem_zalloc(sizeof (zevent_t), KM_SLEEP);
- if (ev == NULL)
- return (NULL);
list_create(&ev->ev_ze_list, sizeof (zfs_zevent_t),
offsetof(zfs_zevent_t, ze_node));