PCI: pciehp: Remove struct controller.no_cmd_complete
authorRajat Jain <rajatxjain@gmail.com>
Thu, 26 Jun 2014 18:58:55 +0000 (11:58 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 5 Jul 2014 17:38:26 +0000 (11:38 -0600)
commit6c1a32e06758ba1c997f81a3c41e780cfc77b3c2
treee161765638a6dbefd8f12fc40aa11431e354eab3
parent2cc56f3028091578dcf0093cd00f1fee7a21515d
PCI: pciehp: Remove struct controller.no_cmd_complete

"no_cmd_complete" is only used once, and it duplicates read-only
information we already have in the cached Slot Capabilities value.

Remove the field and use the existing macro NO_CMD_CMPL() instead.

[bhelgaas: changelog]
Signed-off-by: Rajat Jain <rajatxjain@gmail.com>
Signed-off-by: Rajat Jain <rajatjain@juniper.net>
Signed-off-by: Guenter Roeck <groeck@juniper.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_hpc.c