From f2d642f96918ab2a1ed3d55b84a649a522875507 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 1 Nov 1995 00:58:43 +0000 Subject: [PATCH] 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 a5f1dc445e20..2202a083977c 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 d8898734e3ef..fff10e4a04f5 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 */