MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / pci_remove_bus_device

Function pci_remove_bus_device

components/drivers/pci/probe.c:836–843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836static rt_bool_t pci_remove_bus_device(struct rt_pci_device *pdev, void *data)
837{
838 /* Bus will free if this is the last device */
839 rt_bus_remove_device(&pdev->parent);
840
841 /* To find all devices, always return false */
842 return RT_FALSE;
843}
844
845rt_err_t rt_pci_host_bridge_remove(struct rt_pci_host_bridge *host_bridge)
846{

Callers

nothing calls this directly

Calls 1

rt_bus_remove_deviceFunction · 0.85

Tested by

no test coverage detected