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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]