[lvm-devel] master - toollib: remove unsed variable in process_each_segment_in_pv

David Teigland teigland at fedoraproject.org
Thu Oct 16 20:18:00 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a6c294c5d0b989c3a881c8d084291aaf97fa3ac8
Commit:        a6c294c5d0b989c3a881c8d084291aaf97fa3ac8
Parent:        23a38d242bcc1187aa6ef36383311d789d43c82d
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Thu Oct 16 15:15:36 2014 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Thu Oct 16 15:16:52 2014 -0500

toollib: remove unsed variable in process_each_segment_in_pv

Was left unused from the last change to this function.
---
 tools/toollib.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/toollib.c b/tools/toollib.c
index eba9a37..f81acca 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -191,7 +191,6 @@ int process_each_segment_in_pv(struct cmd_context *cmd,
 			       process_single_pvseg_fn_t process_single_pvseg)
 {
 	struct pv_segment *pvseg;
-	struct pv_list *pvl;
 	int ret_max = ECMD_PROCESSED;
 	int ret;
 	struct pv_segment _free_pv_segment = { .pv = pv };




More information about the lvm-devel mailing list