diff options
author | Rajat Jain <rajatxjain@gmail.com> | 2014-06-26 20:58:55 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-07-05 19:38:26 +0200 |
commit | 6c1a32e06758ba1c997f81a3c41e780cfc77b3c2 (patch) | |
tree | e161765638a6dbefd8f12fc40aa11431e354eab3 /drivers/pci/hotplug/pciehp.h | |
parent | PCI: pciehp: Remove assumptions about which commands cause completion events (diff) | |
download | linux-6c1a32e06758ba1c997f81a3c41e780cfc77b3c2.tar.xz linux-6c1a32e06758ba1c997f81a3c41e780cfc77b3c2.zip |
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>
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index c496258cd9a7..9e5a9fbb93d7 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h @@ -96,7 +96,6 @@ struct controller { struct timer_list poll_timer; unsigned long cmd_started; /* jiffies */ unsigned int cmd_busy:1; - unsigned int no_cmd_complete:1; unsigned int link_active_reporting:1; unsigned int notification_enabled:1; unsigned int power_fault_detected; |