MCPcopy Create free account
hub / github.com/F-Stack/f-stack / platform_bus_cleanup

Function platform_bus_cleanup

dpdk/drivers/bus/platform/platform.c:614–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614static int
615platform_bus_cleanup(void)
616{
617 struct rte_platform_device *pdev, *tmp;
618
619 RTE_TAILQ_FOREACH_SAFE(pdev, &platform_bus.device_list, next, tmp) {
620 TAILQ_REMOVE(&platform_bus.device_list, pdev, next);
621 platform_bus_unplug(&pdev->device);
622 }
623
624 return 0;
625}
626
627struct rte_platform_bus platform_bus = {
628 .bus = {

Callers

nothing calls this directly

Calls 1

platform_bus_unplugFunction · 0.85

Tested by

no test coverage detected