forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/pci/hotplug/shpchp_pci.c
....@@ -61,9 +61,8 @@
6161 return ret;
6262 }
6363
64
-int shpchp_unconfigure_device(struct slot *p_slot)
64
+void shpchp_unconfigure_device(struct slot *p_slot)
6565 {
66
- int rc = 0;
6766 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate;
6867 struct pci_dev *dev, *temp;
6968 struct controller *ctrl = p_slot->ctrl;
....@@ -83,6 +82,4 @@
8382 }
8483
8584 pci_unlock_rescan_remove();
86
- return rc;
8785 }
88
-