From f51fbdd19d1c7fa0a42cbeb9bb97336d3028f283 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Wed, 1 Apr 2015 08:45:11 -0400 Subject: [PATCH] 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 --- 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 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;