From: Bjorn Helgaas Date: Sat, 14 Dec 2013 20:06:16 +0000 (-0700) Subject: PCI: pciehp: Make various functions void since they can't fail X-Git-Tag: v3.14-rc1~132^2~19^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dae62020f0e6a2ffe424c8cea542fa49d42ec6e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed