PCI: rcar: Remove redundant config accessor register number checks
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 27 Jun 2014 14:59:13 +0000 (18:59 +0400)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 5 Jul 2014 17:45:39 +0000 (11:45 -0600)
commit8eb12c3b420fb5243ce9b4a8878f3b88a3c91e33
tree2832f5f7887a1e82ac36692af5e551a33cd7ccc6
parent7171511eaec5bf23fb06078f59784a3a0626b38f
PCI: rcar: Remove redundant config accessor register number checks

The PCI core will have already checked the configuration register address
before calling the {read|write}() methods; so don't check it again in these
methods.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pcie-rcar.c