EthernetNetIf Compatibility.

Dependents:   XBeeWiFi_SPI_example

Fork of NetServicesSource by Donatien Garnier

Revision:
5:dd63a1e02b1b
Parent:
4:fd826cad83c0
--- a/lwip/netif/ppp/fsm.c	Fri Jul 09 14:46:47 2010 +0000
+++ b/lwip/netif/ppp/fsm.c	Tue Jul 27 15:59:42 2010 +0000
@@ -120,11 +120,9 @@
 void
 fsm_lowerup(fsm *f)
 {
-  #if PPP_DEBUG
   int oldState = f->state;
 
   LWIP_UNUSED_ARG(oldState);
-  #endif
 
   switch( f->state ) {
     case LS_INITIAL:
@@ -159,11 +157,9 @@
 void
 fsm_lowerdown(fsm *f)
 {
-  #if PPP_DEBUG
   int oldState = f->state;
 
   LWIP_UNUSED_ARG(oldState);
-  #endif
 
   switch( f->state ) {
     case LS_CLOSED:
@@ -213,11 +209,9 @@
 void
 fsm_open(fsm *f)
 {
-  #if PPP_DEBUG
   int oldState = f->state;
 
   LWIP_UNUSED_ARG(oldState);
-  #endif
 
   switch( f->state ) {
     case LS_INITIAL:
@@ -276,11 +270,9 @@
 void
 fsm_close(fsm *f, char *reason)
 {
-  #if PPP_DEBUG
   int oldState = f->state;
 
   LWIP_UNUSED_ARG(oldState);
-  #endif
 
   f->term_reason = reason;
   f->term_reason_len = (reason == NULL ? 0 : (int)strlen(reason));