From: Bjorn Helgaas Date: Sat, 14 Dec 2013 20:06:07 +0000 (-0700) Subject: PCI: pciehp: Remove error checks when accessing PCIe Capability X-Git-Tag: v3.14-rc1~132^2~19^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a84b99ccbb954ce201024691babfe4d7d9f506f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed