1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-03 16:58:55 +03:00

Remove unneeded struct on return from lvm_lv_create_linear.

Results in compile warning.
This commit is contained in:
Dave Wysochanski 2009-07-29 16:47:53 +00:00
parent db9a15e2fa
commit 89f096d68e

View File

@ -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;
}
/*