mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Remove unneeded struct on return from lvm_lv_create_linear.
Results in compile warning.
This commit is contained in:
parent
3543c9b320
commit
018eceb66b
@ -120,7 +120,7 @@ lv_t *lvm_vg_create_lv_linear(vg_t *vg, const char *name, uint64_t size)
|
||||
lvl = find_lv_in_vg(vg, name);
|
||||
if (!lvl)
|
||||
return NULL;
|
||||
return (struct lv_t *) lvl->lv;
|
||||
return (lv_t *) lvl->lv;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user