mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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:
parent
f9efcd9218
commit
f51fbdd19d
@ -372,7 +372,6 @@ processLU(virStoragePoolObjPtr pool,
|
|||||||
uint32_t target,
|
uint32_t target,
|
||||||
uint32_t lun)
|
uint32_t lun)
|
||||||
{
|
{
|
||||||
char *type_path = NULL;
|
|
||||||
int retval = -1;
|
int retval = -1;
|
||||||
int device_type;
|
int device_type;
|
||||||
char *block_device = NULL;
|
char *block_device = NULL;
|
||||||
@ -417,8 +416,6 @@ processLU(virStoragePoolObjPtr pool,
|
|||||||
VIR_DEBUG("Created new storage volume for %u:%u:%u:%u successfully",
|
VIR_DEBUG("Created new storage volume for %u:%u:%u:%u successfully",
|
||||||
host, bus, target, lun);
|
host, bus, target, lun);
|
||||||
|
|
||||||
VIR_FREE(type_path);
|
|
||||||
|
|
||||||
out:
|
out:
|
||||||
VIR_FREE(block_device);
|
VIR_FREE(block_device);
|
||||||
return retval;
|
return retval;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user