summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-08-26 11:05:54 +0000
committerdlg <dlg@openbsd.org>2019-08-26 11:05:54 +0000
commit5fadbde51e99e32c8e05d06c26da98ed2adbdd3d (patch)
treeb9c2e86ef5db23ee083a4b9c384a613c0bc96206
parentremove redundant assignment to ic_curmode (diff)
downloadwireguard-openbsd-5fadbde51e99e32c8e05d06c26da98ed2adbdd3d.tar.xz
wireguard-openbsd-5fadbde51e99e32c8e05d06c26da98ed2adbdd3d.zip
remove some debug cruft that i should have removed after the addr64 stuff
-rw-r--r--sys/dev/pci/if_msk.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c
index 52d76518eb9..3eba4899281 100644
--- a/sys/dev/pci/if_msk.c
+++ b/sys/dev/pci/if_msk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_msk.c,v 1.132 2019/07/30 12:11:42 dlg Exp $ */
+/* $OpenBSD: if_msk.c,v 1.133 2019/08/26 11:05:54 dlg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -506,7 +506,6 @@ msk_newbuf(struct sk_if_softc *sc_if)
sc_if->sk_cdata.sk_rx_hiaddr = hiaddr;
-//printf("%s: addr64 @%u (%08x)\n", __func__, prod, hiaddr);
SK_INC(prod, MSK_RX_RING_CNT);
}
@@ -515,7 +514,6 @@ msk_newbuf(struct sk_if_softc *sc_if)
htolem16(&r->sk_len, map->dm_segs[0].ds_len);
r->sk_ctl = 0;
r->sk_opcode = SK_Y2_RXOPC_OWN | SK_Y2_RXOPC_PACKET;
-//printf("%s: packet @%u\n", __func__, prod);
sc_if->sk_cdata.sk_rx_maps[head] = sc_if->sk_cdata.sk_rx_maps[prod];
sc_if->sk_cdata.sk_rx_maps[prod] = map;
@@ -523,7 +521,6 @@ msk_newbuf(struct sk_if_softc *sc_if)
sc_if->sk_cdata.sk_rx_mbuf[prod] = m;
SK_INC(prod, MSK_RX_RING_CNT);
-//printf("%s: prod %u\n", __func__, prod);
sc_if->sk_cdata.sk_rx_prod = prod;
return (1);
@@ -1603,8 +1600,6 @@ msk_rxeof(struct sk_if_softc *sc_if, struct mbuf_list *ml,
prod = sc_if->sk_cdata.sk_rx_prod;
cons = sc_if->sk_cdata.sk_rx_cons;
-//printf("%s: prod %u cons %u\n", __func__, prod, cons);
-
while (cons != prod) {
tail = cons;
SK_INC(cons, MSK_RX_RING_CNT);