From: John Ferlan Date: Wed, 1 Apr 2015 12:45:11 +0000 (-0400) Subject: scsi: Remove unused 'type_path' in processLU X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f51fbdd19d1c7fa0a42cbeb9bb97336d3028f283;p=libvirt.git scsi: Remove unused 'type_path' in processLU Seems to be a remnant that was never cleaned up from original submit... Signed-off-by: John Ferlan --- diff --git a/src/storage/storage_backend_scsi.c b/src/storage/storage_backend_scsi.c index 66e0846cc6..2a3e1e4896 100644 --- a/src/storage/storage_backend_scsi.c +++ b/src/storage/storage_backend_scsi.c @@ -372,7 +372,6 @@ processLU(virStoragePoolObjPtr pool, uint32_t target, uint32_t lun) { - char *type_path = NULL; int retval = -1; int device_type; char *block_device = NULL; @@ -417,8 +416,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;