pcie: Remove redundant test in pcie_mmcfg_data_{read,write}()
commitc76efd7225d33b48f7a1dd4519620f0b50267612
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 24 Apr 2019 04:19:57 +0000 (24 14:19 +1000)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 20 May 2019 22:40:02 +0000 (20 18:40 -0400)
tree02d3ab9fa12225468d1b419573e3b73826378c61
parentacbd487ddb36499108d3bc2fb0654f6892177633
pcie: Remove redundant test in pcie_mmcfg_data_{read,write}()

These functions have an explicit test for accesses above the device's
config size.  But pci_host_config_{read,write}_common() which they're
about to call already have checks against the config space limit and
do the right thing.  So, remove the redundant tests.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20190424041959.4087-2-david@gibson.dropbear.id.au>
hw/pci/pcie_host.c