PCI: sysfs: Remove unused attribute groups
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 16 Oct 2019 08:03:24 +0000 (09:03 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 21 Nov 2019 13:52:31 +0000 (07:52 -0600)
commitca22d1f5474a7278d317bb86296723e9e563c44d
tree090f90ec26c92580efcf67f568b5f2fb04585f78
parent7e8ce0e2b036dbc6617184317983aea4f2c52099
PCI: sysfs: Remove unused attribute groups

56c1af4606f0 ("PCI: Add sysfs max_link_speed/width,
current_link_speed/width, etc") added the following objects, but they are
unused, so remove them:

  pci_bridge_group
  pci_bridge_groups
  pcie_dev_group
  pcie_dev_groups

This fixes the following warnings from sparse:

  drivers/pci/pci-sysfs.c:1546:30: warning: symbol 'pci_bridge_groups' was not declared. Should it be static?
  drivers/pci/pci-sysfs.c:1555:30: warning: symbol 'pcie_dev_groups' was not declared. Should it be static?

Link: https://lore.kernel.org/r/20191016080324.12864-1-ben.dooks@codethink.co.uk
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-sysfs.c