From owner-svn-src-all@freebsd.org Tue Sep 1 21:48:22 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 CE4FC37BCC7; Tue, 1 Sep 2020 21:48:22 +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 4Bh10Q598Lz4SpD; Tue, 1 Sep 2020 21:48:22 +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 916E720158; Tue, 1 Sep 2020 21:48:22 +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 081LmMdo040385; Tue, 1 Sep 2020 21:48:22 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081LmMx8040383; Tue, 1 Sep 2020 21:48:22 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012148.081LmMx8040383@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 21:48:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365136 - head/sys/dev/vnic X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/dev/vnic X-SVN-Commit-Revision: 365136 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 21:48:22 -0000 Author: mjg Date: Tue Sep 1 21:48:21 2020 New Revision: 365136 URL: https://svnweb.freebsd.org/changeset/base/365136 Log: vnic: clean up empty lines in .c and .h files Modified: head/sys/dev/vnic/nicvf_main.c head/sys/dev/vnic/nicvf_queues.c head/sys/dev/vnic/thunder_mdio.c Modified: head/sys/dev/vnic/nicvf_main.c ============================================================================== --- head/sys/dev/vnic/nicvf_main.c Tue Sep 1 21:48:08 2020 (r365135) +++ head/sys/dev/vnic/nicvf_main.c Tue Sep 1 21:48:21 2020 (r365136) @@ -656,7 +656,6 @@ nicvf_if_transmit(struct ifnet *ifp, struct mbuf *mbuf int qidx; int err = 0; - if (__predict_false(qs == NULL)) { panic("%s: missing queue set for %s", __func__, device_get_nameunit(nic->dev)); Modified: head/sys/dev/vnic/nicvf_queues.c ============================================================================== --- head/sys/dev/vnic/nicvf_queues.c Tue Sep 1 21:48:08 2020 (r365135) +++ head/sys/dev/vnic/nicvf_queues.c Tue Sep 1 21:48:21 2020 (r365136) @@ -891,7 +891,6 @@ nicvf_cmp_task(void *arg, int pending) * process the entire CQ due to Tx or Rx CQ parse error. */ taskqueue_enqueue(cq->cmp_taskq, &cq->cmp_task); - } nicvf_clear_intr(nic, NICVF_INTR_CQ, cq->idx); @@ -1533,7 +1532,6 @@ nicvf_free_resources(struct nicvf *nic) while (taskqueue_cancel(qs->qs_err_taskq, &qs->qs_err_task, NULL) != 0) { taskqueue_drain(qs->qs_err_taskq, &qs->qs_err_task); - } taskqueue_free(qs->qs_err_taskq); qs->qs_err_taskq = NULL; Modified: head/sys/dev/vnic/thunder_mdio.c ============================================================================== --- head/sys/dev/vnic/thunder_mdio.c Tue Sep 1 21:48:08 2020 (r365135) +++ head/sys/dev/vnic/thunder_mdio.c Tue Sep 1 21:48:21 2020 (r365136) @@ -142,7 +142,6 @@ MALLOC_DEFINE(M_THUNDER_MDIO, "ThunderX MDIO", #define MDIO_LOCK_ASSERT(sc) \ mtx_assert(&(sc)->mtx, MA_OWNED) - #define mdio_reg_read(sc, reg) \ bus_read_8((sc)->reg_base, (reg))