Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7736a05a authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Jesse Barnes
Browse files

PCI: sparse warning (trivial)



Assigning zero where NULL should be used.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 7bd1c365
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ void pci_bus_remove_resources(struct pci_bus *bus)
	int i;

	for (i = 0; i < PCI_BRIDGE_RESOURCE_NUM; i++)
		bus->resource[i] = 0;
		bus->resource[i] = NULL;

	list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) {
		list_del(&bus_res->list);