diff options
author | Bjorn Helgaas | 2013-12-14 21:06:07 +0100 |
---|---|---|
committer | Bjorn Helgaas | 2013-12-16 00:02:08 +0100 |
commit | 1a84b99ccbb954ce201024691babfe4d7d9f506f (patch) | |
tree | 573d68b191df317599f5354981959d3421fbe215 /drivers/pci/hotplug/pciehp_ctrl.c | |
parent | PCI: pciehp: Drop pciehp_readw()/pciehp_writew() wrappers (diff) | |
download | kernel-qcow2-linux-1a84b99ccbb954ce201024691babfe4d7d9f506f.tar.gz kernel-qcow2-linux-1a84b99ccbb954ce201024691babfe4d7d9f506f.tar.xz kernel-qcow2-linux-1a84b99ccbb954ce201024691babfe4d7d9f506f.zip |
PCI: pciehp: Remove error checks when accessing PCIe Capability
There's not much point in checking the return value from every config space
access because the only likely errors are design-time things like unaligned
accesses or invalid register numbers. The checking clutters the code
significantly, so this patch removes it.
No functional change.
Reference: http://lkml.kernel.org/r/CA+55aFzP4xEbcNmZ+MS0SQ3LrULzSq+dBiT_X9U-bPpR-Ukgrw@mail.gmail.com
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/pciehp_ctrl.c')
0 files changed, 0 insertions, 0 deletions