svn commit: r365136 - head/sys/dev/vnic
Mateusz Guzik
mjg at FreeBSD.org
Tue Sep 1 21:48:22 UTC 2020
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))
More information about the svn-src-all
mailing list