commit | 6dae62020f0e6a2ffe424c8cea542fa49d42ec6e | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Sat Dec 14 13:06:16 2013 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Sun Dec 15 16:07:32 2013 -0700 |
tree | 57f76e124dcccc1a84dfe0655e213d3a28351e91 | |
parent | 1a84b99ccbb954ce201024691babfe4d7d9f506f [diff] |
PCI: pciehp: Make various functions void since they can't fail These functions: pcie_enable_notification() pciehp_power_off_slot() pciehp_get_power_status() pciehp_get_attention_status() pciehp_set_attention_status() pciehp_get_latch_status() pciehp_get_adapter_status() pcie_write_cmd() now always return success, so this patch makes them void and drops the error-checking code in their callers. No functional change. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>