vnic: clean up empty lines in .c and .h files
This commit is contained in:
parent
d918dd1915
commit
78ee240673
@ -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));
|
||||
|
@ -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;
|
||||
|
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user