summaryrefslogtreecommitdiff
path: root/sys/net/if_ppp.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-10-12 13:17:59 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-10-12 13:17:59 +0000
commite627beec88dc75c1d1d3288602fe3d5916f3bfbc (patch)
treec3dd3820a0d45e5207907aa1909b33e81e164010 /sys/net/if_ppp.c
parent7a538122acf907a8eedd89630492f2a19058542f (diff)
the pattr argument to IFQ_ENQUEUE is unused, so let's get rid of it.
also the comment above IFQ_ENQUEUE that says the pattr argument is unused. ok mpi@
Diffstat (limited to 'sys/net/if_ppp.c')
-rw-r--r--sys/net/if_ppp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c
index 6f11546a29d..4c85df2ab51 100644
--- a/sys/net/if_ppp.c
+++ b/sys/net/if_ppp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ppp.c,v 1.89 2015/10/05 19:05:09 uebayasi Exp $ */
+/* $OpenBSD: if_ppp.c,v 1.90 2015/10/12 13:17:58 dlg Exp $ */
/* $NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $ */
/*
@@ -804,7 +804,7 @@ pppoutput(struct ifnet *ifp, struct mbuf *m0, struct sockaddr *dst,
error = 0;
}
} else
- IFQ_ENQUEUE(&sc->sc_if.if_snd, m0, NULL, error);
+ IFQ_ENQUEUE(&sc->sc_if.if_snd, m0, error);
if (error) {
splx(s);
sc->sc_if.if_oerrors++;
@@ -867,7 +867,7 @@ ppp_requeue(struct ppp_softc *sc)
error = 0;
}
} else
- IFQ_ENQUEUE(&sc->sc_if.if_snd, m, NULL, error);
+ IFQ_ENQUEUE(&sc->sc_if.if_snd, m, error);
if (error) {
sc->sc_if.if_oerrors++;
sc->sc_stats.ppp_oerrors++;