diff options
Diffstat (limited to 'module/zfs/vdev.c')
-rw-r--r-- | module/zfs/vdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c index 30f0515cf..7dc00650c 100644 --- a/module/zfs/vdev.c +++ b/module/zfs/vdev.c @@ -2197,7 +2197,7 @@ void vdev_close(vdev_t *vd) { vdev_t *pvd = vd->vdev_parent; - ASSERTV(spa_t *spa = vd->vdev_spa); + spa_t *spa __maybe_unused = vd->vdev_spa; ASSERT(spa_config_held(spa, SCL_STATE_ALL, RW_WRITER) == SCL_STATE_ALL); |