bus_managers/firewire: Fix PVS 396
Fix 'info' is assigned values twice successively. Change-Id: I981d3176a41a5f7616ef5a20dae889f1f01525bd Reviewed-on: https://review.haiku-os.org/764 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
16a54a87fd
commit
3fb9ab7fb6
@@ -142,12 +142,11 @@ static status_t
|
||||
fw_module_init(void)
|
||||
{
|
||||
status_t status;
|
||||
pci_info *info = NULL;
|
||||
int i, found;
|
||||
fwohci_softc_t *fwohci_sc;
|
||||
struct firewire_softc *fw_sc;
|
||||
|
||||
info = (pci_info*)malloc(sizeof(pci_info));
|
||||
pci_info *info = (pci_info*)malloc(sizeof(pci_info));
|
||||
if (!info)
|
||||
return B_NO_MEMORY;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user