From owner-svn-src-all@freebsd.org Tue Sep 1 22:06:09 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 07BAA37E3EC; Tue, 1 Sep 2020 22:06:09 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bh1Nw6R6xz4drH; Tue, 1 Sep 2020 22:06:08 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B9F2F20066; Tue, 1 Sep 2020 22:06:08 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 081M68HO055578; Tue, 1 Sep 2020 22:06:08 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081M68Bv055575; Tue, 1 Sep 2020 22:06:08 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012206.081M68Bv055575@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mjg set sender to mjg@FreeBSD.org using -f From: Mateusz Guzik Date: Tue, 1 Sep 2020 22:06:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365200 - head/sys/dev/mthca X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/dev/mthca X-SVN-Commit-Revision: 365200 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 22:06:09 -0000 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);