summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-11-01 00:58:43 +0000
committerpeter <peter@FreeBSD.org>1995-11-01 00:58:43 +0000
commitd34865cc8979c7ec79bbe5b6ce683336db718a93 (patch)
tree5a65469200e0c0636d498d0dd541412dcc68c285 /sys/net
parentbc81b71f6596c6da1035b6c513189b6c7b3b2252 (diff)
downloadFreeBSD-src-d34865cc8979c7ec79bbe5b6ce683336db718a93.zip
FreeBSD-src-d34865cc8979c7ec79bbe5b6ce683336db718a93.tar.gz
Re-Zap unused variables in their new location.. :-)
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_ppp.c5
-rw-r--r--sys/net/ppp_tty.c5
2 files changed, 3 insertions, 7 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c
index a5f1dc4..2202a08 100644
--- a/sys/net/if_ppp.c
+++ b/sys/net/if_ppp.c
@@ -69,7 +69,7 @@
* Paul Mackerras (paulus@cs.anu.edu.au).
*/
-/* $Id$ */
+/* $Id: if_ppp.c,v 1.25 1995/10/31 20:24:08 peter Exp $ */
/* from if_ppp.c,v 1.5 1995/08/16 01:36:38 paulus Exp */
/* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
@@ -577,7 +577,6 @@ pppoutput(ifp, m0, dst, rtp)
struct rtentry *rtp;
{
register struct ppp_softc *sc = &ppp_softc[ifp->if_unit];
- struct ppp_header *ph;
int protocol, address, control;
u_char *cp;
int s, error;
@@ -830,11 +829,9 @@ static void
ppp_outpkt(sc)
struct ppp_softc *sc;
{
- int s;
struct mbuf *m, *mp;
u_char *cp;
int address, control, protocol;
- enum NPmode mode;
/*
* Grab a packet to send: first try the fast queue, then the
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c
index d889873..fff10e4 100644
--- a/sys/net/ppp_tty.c
+++ b/sys/net/ppp_tty.c
@@ -70,7 +70,7 @@
* Paul Mackerras (paulus@cs.anu.edu.au).
*/
-/* $Id$ */
+/* $Id: ppp_tty.c,v 1.2 1995/10/31 20:24:14 peter Exp $ */
/* from Id: ppp_tty.c,v 1.3 1995/08/16 01:36:40 paulus Exp */
/* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
@@ -212,7 +212,7 @@ pppopen(dev, tp)
{
struct proc *p = curproc; /* XXX */
register struct ppp_softc *sc;
- int error, s, i;
+ int error, s;
if (error = suser(p->p_ucred, &p->p_acflag))
return (error);
@@ -281,7 +281,6 @@ pppclose(tp, flag)
int flag;
{
register struct ppp_softc *sc;
- struct mbuf *m;
int s;
s = spltty(); /* also netisr's, including NETISR_PPP */
OpenPOWER on IntegriCloud