summaryrefslogtreecommitdiffstats
path: root/drivers/pci/irq.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2014-05-30 11:01:03 +0800
committerBjorn Helgaas <bhelgaas@google.com>2014-05-30 09:34:27 -0600
commitc893d133eaccdda2516a3e71cd05a7dac2e14b00 (patch)
tree2f296b5a88e4e794fb48d4c22c8108ce6f671bbc /drivers/pci/irq.c
parentd97ffe236894856d08146390ef3fbe6448a8ac2b (diff)
PCI: Make pci_bus_add_device() void
pci_bus_add_device() always returns 0, so there's no point in returning anything at all. Make it a void function and remove the tests of the return value from the callers. [bhelgaas: changelog, remove unused "err" from i82875p_setup_overfl_dev()] Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/irq.c')
0 files changed, 0 insertions, 0 deletions