mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-31 22:50:30 +03:00
virpci: Drop unused @ret in virPCIDeviceListDel
So after 00dc991ca16730 the function is one line long and the line is declaring a variable which is never used in fact. Replace it with actual free() call instead of autofree. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
ea0c2856f8
commit
c50f89db71
@ -2003,7 +2003,7 @@ void
|
||||
virPCIDeviceListDel(virPCIDeviceListPtr list,
|
||||
virPCIDevicePtr dev)
|
||||
{
|
||||
VIR_AUTOPTR(virPCIDevice) ret = virPCIDeviceListSteal(list, dev);
|
||||
virPCIDeviceFree(virPCIDeviceListSteal(list, dev));
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user