ac97: Cosmetic fixes (binary unchanged)

This commit is contained in:
RichardG867
2021-11-23 22:02:54 -03:00
parent 57fc603c69
commit 7a35c4b017

View File

@@ -55,7 +55,7 @@ get_io_bar(uint8_t reg, uint16_t size)
/* Read BAR register. */
ret = pci_readw(bus, dev, func, reg);
if (!(ret & 0x0001) || (ret == 0xffff)) {
temp = pci_readw(bus, dev, func, reg | 0x2);
temp = pci_readw(bus, dev, func, reg | 0x2);
printf("invalid! (%04X%04X)", temp, ret);
return 0;
}
@@ -431,7 +431,6 @@ static void
intel_probe()
{
uint8_t rev;
uint16_t bm_base;
/* Print basic information. */
rev = pci_readb(bus, dev, func, 0x08);