Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 22:06:08 +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: r365200 - head/sys/dev/mthca
Message-ID:  <202009012206.081M68Bv055575@repo.freebsd.org>

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

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

Modified:
  head/sys/dev/mthca/mthca_cmd.c
  head/sys/dev/mthca/mthca_mad.c
  head/sys/dev/mthca/mthca_mr.c
  head/sys/dev/mthca/mthca_qp.c

Modified: head/sys/dev/mthca/mthca_cmd.c
==============================================================================
--- head/sys/dev/mthca/mthca_cmd.c	Tue Sep  1 22:05:53 2020	(r365199)
+++ head/sys/dev/mthca/mthca_cmd.c	Tue Sep  1 22:06:07 2020	(r365200)
@@ -301,7 +301,6 @@ static int mthca_cmd_post(struct mthca_dev *dev,
 	return err;
 }
 
-
 static int mthca_status_to_errno(u8 status)
 {
 	static const int trans_table[] = {
@@ -331,7 +330,6 @@ static int mthca_status_to_errno(u8 status)
 
 	return trans_table[status];
 }
-
 
 static int mthca_cmd_poll(struct mthca_dev *dev,
 			  u64 in_param,

Modified: head/sys/dev/mthca/mthca_mad.c
==============================================================================
--- head/sys/dev/mthca/mthca_mad.c	Tue Sep  1 22:05:53 2020	(r365199)
+++ head/sys/dev/mthca/mthca_mad.c	Tue Sep  1 22:06:07 2020	(r365200)
@@ -311,7 +311,6 @@ int mthca_create_agents(struct mthca_dev *dev)
 			dev->send_agent[p][q] = agent;
 		}
 
-
 	for (p = 1; p <= dev->limits.num_ports; ++p) {
 		ret = mthca_update_rate(dev, p);
 		if (ret) {

Modified: head/sys/dev/mthca/mthca_mr.c
==============================================================================
--- head/sys/dev/mthca/mthca_mr.c	Tue Sep  1 22:05:53 2020	(r365199)
+++ head/sys/dev/mthca/mthca_mr.c	Tue Sep  1 22:06:07 2020	(r365200)
@@ -713,7 +713,6 @@ static inline int mthca_check_fmr(struct mthca_fmr *fm
 	return 0;
 }
 
-
 int mthca_tavor_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list,
 			     int list_len, u64 iova)
 {
@@ -869,7 +868,6 @@ int mthca_init_mr_table(struct mthca_dev *dev)
 
 	if (!mthca_is_memfree(dev) &&
 	    (dev->mthca_flags & MTHCA_FLAG_FMR)) {
-
 		addr = pci_resource_start(dev->pdev, 4) +
 			((pci_resource_len(dev->pdev, 4) - 1) &
 			 dev->mr_table.mpt_base);

Modified: head/sys/dev/mthca/mthca_qp.c
==============================================================================
--- head/sys/dev/mthca/mthca_qp.c	Tue Sep  1 22:05:53 2020	(r365199)
+++ head/sys/dev/mthca/mthca_qp.c	Tue Sep  1 22:06:07 2020	(r365200)
@@ -1086,7 +1086,6 @@ static int mthca_map_memfree(struct mthca_dev *dev,
 				      qp->qpn << dev->qp_table.rdb_shift);
 		if (ret)
 			goto err_eqpc;
-
 	}
 
 	return 0;
@@ -1218,7 +1217,6 @@ static int mthca_alloc_qp_common(struct mthca_dev *dev
 			next->nda_op = htonl((((i + 1) % qp->rq.max) <<
 					      qp->rq.wqe_shift) | 1);
 		}
-
 	}
 
 	qp->sq.last = get_send_wqe(qp, qp->sq.max - 1);



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