[libvirt] [PATCH v2 4/6] scsi: Remove unused 'type_path' in processLU

John Ferlan jferlan at redhat.com
Wed Apr 1 17:29:09 UTC 2015


Seems to be a remnant that was never cleaned up from original submit...

Signed-off-by: John Ferlan <jferlan at redhat.com>
---
 src/storage/storage_backend_scsi.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/storage/storage_backend_scsi.c b/src/storage/storage_backend_scsi.c
index 6def373..e085da2 100644
--- a/src/storage/storage_backend_scsi.c
+++ b/src/storage/storage_backend_scsi.c
@@ -382,7 +382,6 @@ processLU(virStoragePoolObjPtr pool,
           uint32_t target,
           uint32_t lun)
 {
-    char *type_path = NULL;
     int retval = -1;
     int device_type;
     char *block_device = NULL;
@@ -427,8 +426,6 @@ processLU(virStoragePoolObjPtr pool,
     VIR_DEBUG("Created new storage volume for %u:%u:%u:%u successfully",
               host, bus, target, lun);
 
-    VIR_FREE(type_path);
-
  out:
     VIR_FREE(block_device);
     return retval;
-- 
2.1.0




More information about the libvir-list mailing list