mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
cleanup: drop unused assignment
Assigned values are unused.
This commit is contained in:
parent
1951798d72
commit
dd4fdce16c
@ -1610,7 +1610,7 @@ static int _add_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
|
|||||||
uint32_t s;
|
uint32_t s;
|
||||||
struct seg_list *sl;
|
struct seg_list *sl;
|
||||||
struct dm_list *snh;
|
struct dm_list *snh;
|
||||||
struct lv_segment *seg = first_seg(lv);
|
struct lv_segment *seg;
|
||||||
struct dm_tree_node *thin_node;
|
struct dm_tree_node *thin_node;
|
||||||
const char *uuid;
|
const char *uuid;
|
||||||
|
|
||||||
|
@ -403,7 +403,6 @@ static int _alloc_image_component(struct logical_volume *lv,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!ah) {
|
if (!ah) {
|
||||||
first_area = 0;
|
|
||||||
log_error(INTERNAL_ERROR
|
log_error(INTERNAL_ERROR
|
||||||
"Stand-alone %s area allocation not implemented",
|
"Stand-alone %s area allocation not implemented",
|
||||||
(type == RAID_META) ? "metadata" : "data");
|
(type == RAID_META) ? "metadata" : "data");
|
||||||
|
Loading…
Reference in New Issue
Block a user