removed all PPP unit in ppp.c except pih->unit and unit used in debugging output

This commit is contained in:
Sylvain Rochet
2012-06-12 00:55:53 +02:00
parent 6e2722a6d3
commit 527d99fd39
2 changed files with 69 additions and 70 deletions

View File

@@ -656,7 +656,7 @@ link_terminated(unit)
lcp_lowerdown(0);
new_phase(unit, PHASE_DEAD);
new_phase(pcb, PHASE_DEAD);
ppp_link_terminated(pcb);
#if 0
/*
@@ -873,7 +873,9 @@ static void
network_phase(unit)
int unit;
{
#if CBCP_SUPPORT
ppp_pcb *pcb = &ppp_pcb_list[unit];
#endif
#if 0 /* UNUSED */
lcp_options *go = &lcp_gotoptions[unit];
#endif /* UNUSED */