PCI: Remove unused pcie_aspm_enabled()
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 10 Jan 2014 22:23:16 +0000 (15:23 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 13 Jan 2014 18:14:44 +0000 (11:14 -0700)
commit8f92fb06ffb090f2b22717481352f1e58511c834
treed6af824c7899350c00ce784b8a3a904d9c3f1a0f
parent3984ca1c6e493d06fa7e8dc96ce2b23b86175ec4
PCI: Remove unused pcie_aspm_enabled()

My philosophy is unused code is dead code.  And dead code is subject to bit
rot and is a likely source of bugs.  Use it or lose it.

This reverts part of 3e1b16002af2 ("ACPI/PCI: PCIe ASPM _OSC support
capabilities called when root bridge added"), removing this interface:

    pcie_aspm_enabled()

[bhelgaas: split to separate patch]
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Andrew Patterson <andrew.patterson@hp.com>
drivers/pci/pcie/aspm.c
include/linux/pci.h