Skip to contentSkip to conversation

PCI, pciehp: Remove not used code

PATCH New Yinghai Lu 1 participant 1 message Jul 11, 2012 PCI

lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

PATCH 1/1 PCI, pciehp: Remove not used code

Cc Kenji Kaneshige <[email protected]>
---
 drivers/pci/hotplug/pciehp.h     |    4 -
 drivers/pci/hotplug/pciehp_hpc.c |  101 ---------------------------------------
 2 files changed, 105 deletions(-)
drivers/pci/hotplug/pciehp.h +0 -4
Index: linux-2.6/drivers/pci/hotplug/pciehp.h
===================================================================
@@ -149,10 +149,6 @@ int pciehp_get_attention_status(struct s
 int pciehp_set_attention_status(struct slot *slot, u8 status);
 int pciehp_get_latch_status(struct slot *slot, u8 *status);
 int pciehp_get_adapter_status(struct slot *slot, u8 *status);
-int pciehp_get_max_link_speed(struct slot *slot, enum pci_bus_speed *speed);
-int pciehp_get_max_link_width(struct slot *slot, enum pcie_link_width *val);
-int pciehp_get_cur_link_speed(struct slot *slot, enum pci_bus_speed *speed);
-int pciehp_get_cur_link_width(struct slot *slot, enum pcie_link_width *val);
 int pciehp_query_power_fault(struct slot *slot);
 void pciehp_green_led_on(struct slot *slot);
 void pciehp_green_led_off(struct slot *slot);
drivers/pci/hotplug/pciehp_hpc.c +0 -101

107 lines not on this page · raw message