1
0
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:
Dave Wysochanski 2009-07-29 16:47:53 +00:00
parent 3543c9b320
commit 018eceb66b

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