1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Re-Zap unused variables in their new location.. :-)

This commit is contained in:
Peter Wemm 1995-11-01 00:58:43 +00:00
parent 6c680b8484
commit f2d642f969
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11994
2 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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 */