1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: drop unused assignment

Assigned values are unused.
This commit is contained in:
Zdenek Kabelac 2013-04-19 21:09:28 +02:00
parent 1951798d72
commit dd4fdce16c
2 changed files with 1 additions and 2 deletions

View File

@ -1610,7 +1610,7 @@ static int _add_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
uint32_t s;
struct seg_list *sl;
struct dm_list *snh;
struct lv_segment *seg = first_seg(lv);
struct lv_segment *seg;
struct dm_tree_node *thin_node;
const char *uuid;

View File

@ -403,7 +403,6 @@ static int _alloc_image_component(struct logical_volume *lv,
}
if (!ah) {
first_area = 0;
log_error(INTERNAL_ERROR
"Stand-alone %s area allocation not implemented",
(type == RAID_META) ? "metadata" : "data");