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 <jferlan@redhat.com>
This commit is contained in:
John Ferlan 2015-04-01 08:45:11 -04:00
parent f9efcd9218
commit f51fbdd19d

View File

@ -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;