提交 c50f89db 编写于 作者: M Michal Privoznik

virpci: Drop unused @ret in virPCIDeviceListDel

So after 00dc991c 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: NMichal Privoznik <mprivozn@redhat.com>
上级 ea0c2856
......@@ -2003,7 +2003,7 @@ void
virPCIDeviceListDel(virPCIDeviceListPtr list,
virPCIDevicePtr dev)
{
VIR_AUTOPTR(virPCIDevice) ret = virPCIDeviceListSteal(list, dev);
virPCIDeviceFree(virPCIDeviceListSteal(list, dev));
}
int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册