qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] pci: Remove unused pci_get_*_by_mask() functions


From: Richard Henderson
Subject: Re: [PATCH 1/2] pci: Remove unused pci_get_*_by_mask() functions
Date: Tue, 26 Jul 2022 15:27:02 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 7/26/22 09:32, Peter Maydell wrote:
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.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  include/hw/pci/pci.h | 28 ----------------------------
  1 file changed, 28 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]