Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 22:03:55 +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: r365192 - in head/sys/dev/ntb: . ntb_hw
Message-ID:  <202009012203.081M3tcm055090@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Sep  1 22:03:55 2020
New Revision: 365192
URL: https://svnweb.freebsd.org/changeset/base/365192

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

Modified:
  head/sys/dev/ntb/ntb_hw/ntb_hw_amd.c
  head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
  head/sys/dev/ntb/ntb_transport.c

Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_amd.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw_amd.c	Tue Sep  1 22:03:46 2020	(r365191)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw_amd.c	Tue Sep  1 22:03:55 2020	(r365192)
@@ -81,7 +81,6 @@ __FBSDID("$FreeBSD$");
 MALLOC_DEFINE(M_AMD_NTB, "amd_ntb_hw", "amd_ntb_hw driver memory allocations");
 
 static const struct amd_ntb_hw_info amd_ntb_hw_info_list[] = {
-
 	{ .vendor_id = NTB_HW_AMD_VENDOR_ID,
 	  .device_id = NTB_HW_AMD_DEVICE_ID1,
 	  .mw_count = 3,
@@ -686,7 +685,6 @@ amd_ntb_peer_spad_write(device_t dev, unsigned int idx
 	return (0);
 }
 
-
 /*
  * AMD NTB INIT
  */
@@ -871,7 +869,6 @@ amd_ntb_setup_isr(struct amd_ntb_softc *ntb, uint16_t 
 		flags |= RF_SHAREABLE;
 
 	for (i = 0; i < num_vectors; i++) {
-
 		/* RID should be 0 for intx */
 		if (intx)
 			ntb->int_info[i].rid = i;
@@ -911,7 +908,7 @@ static int
 amd_ntb_create_msix_vec(struct amd_ntb_softc *ntb, uint32_t max_vectors)
 {
 	uint8_t i;
-	
+
 	ntb->msix_vec = malloc(max_vectors * sizeof(*ntb->msix_vec), M_AMD_NTB,
 	    M_ZERO | M_WAITOK);
 

Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Tue Sep  1 22:03:46 2020	(r365191)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Tue Sep  1 22:03:55 2020	(r365192)
@@ -1682,7 +1682,6 @@ configure_atom_secondary_side_bars(struct ntb_softc *n
 	}
 }
 
-
 /*
  * When working around Xeon SDOORBELL errata by remapping remote registers in a
  * MW, limit the B2B MW to half a MW.  By sharing a MW, half the shared MW

Modified: head/sys/dev/ntb/ntb_transport.c
==============================================================================
--- head/sys/dev/ntb/ntb_transport.c	Tue Sep  1 22:03:46 2020	(r365191)
+++ head/sys/dev/ntb/ntb_transport.c	Tue Sep  1 22:03:55 2020	(r365192)
@@ -757,8 +757,6 @@ ntb_transport_link_up(struct ntb_transport_qp *qp)
 		callout_reset(&qp->link_work, 0, ntb_qp_link_work, qp);
 }
 
-
-
 /* Transport Tx */
 
 /**
@@ -1204,7 +1202,6 @@ ntb_transport_link_work(void *arg)
 		mw->rx_size = val64;
 		val64 = roundup(val64, mw->xlat_align_size);
 		if (mw->buff_size != val64) {
-
 			rc = ntb_set_mw(nt, i, val64);
 			if (rc != 0) {
 				ntb_printf(0, "link up set mw%d fails, rc %d\n",
@@ -1592,7 +1589,6 @@ ntb_send_link_down(struct ntb_transport_qp *qp)
 
 	ntb_qp_link_down_reset(qp);
 }
-
 
 /* List Management */
 



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