pci: Remove unused pci_get_*_by_mask() functions
commit31e039e76d60fab708d49444ba40effc3037670d
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Aug 2022 13:54:20 +0000 (18 14:54 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Oct 2022 20:38:45 +0000 (9 16:38 -0400)
treee71ed9884531309a9353761b99fa5e03110fc999
parent8a8287981d1169f534894d983ecfd3b70b71918b
pci: Remove unused pci_get_*_by_mask() functions

The helper functions pci_get_{byte,word,long,quad}_by_mask()
were added in 2012 in commit c9f50cea70a1596. In the decade
since we have never added a single use of them.

The helpers clearly aren't that helpful, so drop them
rather than carrying around dead code.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220818135421.2515257-2-peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
include/hw/pci/pci.h