svn commit: r365104 - head/sys/dev/ahci

Mateusz Guzik mjg at FreeBSD.org
Tue Sep 1 21:36:41 UTC 2020


Author: mjg
Date: Tue Sep  1 21:36:40 2020
New Revision: 365104
URL: https://svnweb.freebsd.org/changeset/base/365104

Log:
  ahci: clean up empty lines in .c and .h files

Modified:
  head/sys/dev/ahci/ahci.c
  head/sys/dev/ahci/ahci.h
  head/sys/dev/ahci/ahci_pci.c

Modified: head/sys/dev/ahci/ahci.c
==============================================================================
--- head/sys/dev/ahci/ahci.c	Tue Sep  1 21:35:39 2020	(r365103)
+++ head/sys/dev/ahci/ahci.c	Tue Sep  1 21:36:40 2020	(r365104)
@@ -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);
 
@@ -192,7 +191,6 @@ ahci_ctlr_reset(device_t dev)
 
 	return (0);
 }
-
 
 int
 ahci_attach(device_t dev)

Modified: head/sys/dev/ahci/ahci.h
==============================================================================
--- head/sys/dev/ahci/ahci.h	Tue Sep  1 21:35:39 2020	(r365103)
+++ head/sys/dev/ahci/ahci.h	Tue Sep  1 21:36:40 2020	(r365104)
@@ -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;
-

Modified: head/sys/dev/ahci/ahci_pci.c
==============================================================================
--- head/sys/dev/ahci/ahci_pci.c	Tue Sep  1 21:35:39 2020	(r365103)
+++ head/sys/dev/ahci/ahci_pci.c	Tue Sep  1 21:36:40 2020	(r365104)
@@ -545,7 +545,6 @@ ahci_pci_attach(device_t dev)
 		}
 	}
 
-
 	if (ctlr->quirks & AHCI_Q_NOMSIX)
 		msix_count = 0;
 


More information about the svn-src-all mailing list