Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 21:36:40 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365104 - head/sys/dev/ahci
Message-ID:  <202009012136.081LaeQS032357@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012136.081LaeQS032357>