diff options
author | 2018-07-11 06:39:57 +0000 | |
---|---|---|
committer | 2018-07-11 06:39:57 +0000 | |
commit | 87e4187efe397cb5785f0bde571a799845824d53 (patch) | |
tree | 0d866720e5dfc2946e77e903fd2557a8b4a7ca27 | |
parent | Remove an old and false comment. REALLOC now free(3)s the code if realloc (diff) | |
download | wireguard-openbsd-87e4187efe397cb5785f0bde571a799845824d53.tar.xz wireguard-openbsd-87e4187efe397cb5785f0bde571a799845824d53.zip |
don't bother checking the rx index matches what we expect, it works
properly.
-rw-r--r-- | sys/dev/pci/if_bnxt.c | 4 |
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, |