summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Matthew <jmatthew@cvs.openbsd.org>2018-07-11 06:39:58 +0000
committerJonathan Matthew <jmatthew@cvs.openbsd.org>2018-07-11 06:39:58 +0000
commitfdb8eac581d2a211b42fbbe3bacdbeed66d3c3c8 (patch)
treeebd429323cface78a1a2e22b545f32bc82f2cfab
parent2bff9cf63d2d66f91d76a669556174368fce3106 (diff)
don't bother checking the rx index matches what we expect, it works
properly.
-rw-r--r--sys/dev/pci/if_bnxt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_bnxt.c b/sys/dev/pci/if_bnxt.c
index 36e180d772d..10ec07d8cb1 100644
--- a/sys/dev/pci/if_bnxt.c
+++ b/sys/dev/pci/if_bnxt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bnxt.c,v 1.1 2018/07/09 10:46:15 jmatthew Exp $ */
+/* $OpenBSD: if_bnxt.c,v 1.2 2018/07/11 06:39:57 jmatthew Exp $ */
/*-
* Broadcom NetXtreme-C/E network driver.
*
@@ -1363,8 +1363,6 @@ bnxt_rx(struct bnxt_softc *sc, struct mbuf_list *ml, int *slots,
struct rx_pkt_cmpl *rx = (struct rx_pkt_cmpl *)cmpl;
/* struct rx_pkt_cmpl_hi *rxhi = (struct rx_pkt_cmpl_hi *)cmpl2; */
- if (rx->opaque != sc->sc_rx_cons)
- printf("%s: expected rx %d, got %d\n", DEVNAME(sc), sc->sc_rx_cons, rx->opaque);
bs = &sc->sc_rx_slots[rx->opaque];
bus_dmamap_sync(sc->sc_dmat, bs->bs_map, 0, bs->bs_map->dm_mapsize,