On 3/11/25 00:19, Osama Abdelkader wrote:
Remove unnecessary PCI configuration register initialization that was
marked with TODO comments indicating it's redundant:
- PCI_COMMAND register is already 0x00 by default, no need to override
- PCI_BASE_ADDRESS_0 registers are automatically set by pci_register_bar()
This aligns the code with the pattern used by other PCI audio devices
in QEMU (via-ac97, intel-hda, es1370) and removes 15 lines of dead code.
Signed-off-by: Osama Abdelkader <[email protected]>
---
hw/audio/ac97.c | 19 -------------------
1 file changed, 19 deletions(-)
Queued, thanks!