diff options
-rw-r--r-- | lib/libzfs/libzfs_pool.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c index 867b72f2d..2179c03d7 100644 --- a/lib/libzfs/libzfs_pool.c +++ b/lib/libzfs/libzfs_pool.c @@ -5358,7 +5358,6 @@ zpool_set_vdev_prop(zpool_handle_t *zhp, const char *vdevname, const char *propname, const char *propval) { int ret; - vdev_prop_t vprop; nvlist_t *nvl = NULL; nvlist_t *outnvl = NULL; nvlist_t *props; @@ -5370,8 +5369,6 @@ zpool_set_vdev_prop(zpool_handle_t *zhp, const char *vdevname, if ((ret = zpool_vdev_guid(zhp, vdevname, &vdev_guid)) != 0) return (ret); - vprop = vdev_name_to_prop(propname); - if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) return (no_memory(zhp->zpool_hdl)); if (nvlist_alloc(&props, NV_UNIQUE_NAME, 0) != 0) |