ahci: clean up empty lines in .c and .h files
This commit is contained in:
parent
4ce60b6549
commit
f051a2b0d5
@ -148,7 +148,6 @@ ahci_ctlr_reset(device_t dev)
|
||||
if ((ATA_INL(ctlr->r_mem, AHCI_VS) >= 0x00010200) &&
|
||||
(ATA_INL(ctlr->r_mem, AHCI_CAP2) & AHCI_CAP2_BOH) &&
|
||||
((v = ATA_INL(ctlr->r_mem, AHCI_BOHC)) & AHCI_BOHC_OOS) == 0) {
|
||||
|
||||
/* Request OS ownership. */
|
||||
ATA_OUTL(ctlr->r_mem, AHCI_BOHC, v | AHCI_BOHC_OOS);
|
||||
|
||||
@ -193,7 +192,6 @@ ahci_ctlr_reset(device_t dev)
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
ahci_attach(device_t dev)
|
||||
{
|
||||
|
@ -679,4 +679,3 @@ struct ahci_channel * ahci_getch(device_t dev, int n);
|
||||
void ahci_putch(struct ahci_channel *ch);
|
||||
|
||||
extern devclass_t ahci_devclass;
|
||||
|
||||
|
@ -545,7 +545,6 @@ ahci_pci_attach(device_t dev)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (ctlr->quirks & AHCI_Q_NOMSIX)
|
||||
msix_count = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user