From d34865cc8979c7ec79bbe5b6ce683336db718a93 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 1 Nov 1995 00:58:43 +0000 Subject: Re-Zap unused variables in their new location.. :-) --- sys/net/if_ppp.c | 5 +---- sys/net/ppp_tty.c | 5 ++--- 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 */ -- cgit v1.1