]> sourceware.org Git - lvm2.git/commitdiff
cleanup: lvconvert drop unused variable
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 11 Oct 2016 09:52:07 +0000 (11:52 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 11 Oct 2016 11:37:43 +0000 (13:37 +0200)
tools/lvconvert.c

index 161062ddd4726bbd00957dfdf1d512ffcbcf6ae5..78cd7de55acc32202744390940d47923581c42d2 100644 (file)
@@ -50,8 +50,6 @@ struct lvconvert_params {
        int splitsnapshot;
        int thin;
        int uncache;
-       int other_conversion;   /* Everything else */
-
        int corelog;            /* Equivalent to --mirrorlog core */
        int mirrorlog;          /* Only one of corelog and mirrorlog may be set */
 
@@ -644,8 +642,7 @@ static int _read_params(struct cmd_context *cmd, int argc, char **argv,
            lp->cache + lp->thin + lp->keep_mimages + lp->snapshot + lp->replace + lp->repair > 1) {
                log_error(INTERNAL_ERROR "Unexpected combination of incompatible options selected.");
                return 0;
-       } else
-               lp->other_conversion = 1;
+       }
 
        /*
         * Final checking of each case:
This page took 0.045772 seconds and 5 git commands to generate.