[PATCH] pciehp: remove redundant data structures
State information is currently stored in per-slot as well as per-pci-function data structures in pciehp. There's a lot of overlap in the information kept, and some of it is never used. This patch consolidates the state information to per-slot and eliminates unused data structures. The biggest change is to eliminate the pci_func structure and the code around managing its lists. Signed-off-by:Rajesh Shah <rajesh.shah@intel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/pci/hotplug/pciehp.h 3 additions, 27 deletionsdrivers/pci/hotplug/pciehp.h
- drivers/pci/hotplug/pciehp_core.c 0 additions, 29 deletionsdrivers/pci/hotplug/pciehp_core.c
- drivers/pci/hotplug/pciehp_ctrl.c 40 additions, 351 deletionsdrivers/pci/hotplug/pciehp_ctrl.c
- drivers/pci/hotplug/pciehp_pci.c 22 additions, 327 deletionsdrivers/pci/hotplug/pciehp_pci.c
Please register or sign in to comment