diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2019-04-24 14:19:57 +1000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-05-20 18:40:02 -0400 |
commit | c76efd7225d33b48f7a1dd4519620f0b50267612 (patch) | |
tree | 02d3ab9fa12225468d1b419573e3b73826378c61 /hw/virtio/virtio-pci.h | |
parent | acbd487ddb36499108d3bc2fb0654f6892177633 (diff) |
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>
Diffstat (limited to 'hw/virtio/virtio-pci.h')
0 files changed, 0 insertions, 0 deletions