]> xenbits.xensource.com Git - libvirt.git/commit
storage: logical: drop useless if
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 21 Jul 2014 17:08:58 +0000 (21:08 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 21 Jul 2014 17:34:14 +0000 (21:34 +0400)
commit53939d58cbccce9d0f60252004449fefd41ca53d
tree2322161ef537968da1118d9b2caefe339c28bdaf
parentb5f57be2a2e9741b57d064bfaee92d9726bf9856
storage: logical: drop useless if

virStorageBackendLogicalCreateVol contains a piece like:

    if (vol->target.path != NULL) {
        /* A target path passed to CreateVol has no meaning */
        VIR_FREE(vol->target.path);
    }

The 'if' is useless here, but 'syntax-check' doesn't catch that
because of the comment, so drop the 'if'.
src/storage/storage_backend_logical.c