From 018eceb66b6c2a1efee798485a1420d64206e5c4 Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Wed, 29 Jul 2009 16:47:53 +0000 Subject: [PATCH] Remove unneeded struct on return from lvm_lv_create_linear. Results in compile warning. --- liblvm/lvm_lv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblvm/lvm_lv.c b/liblvm/lvm_lv.c index 059d639cf..b06546eea 100644 --- a/liblvm/lvm_lv.c +++ b/liblvm/lvm_lv.c @@ -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; } /*