patch-1.3.99 linux/drivers/isdn/isdn_ppp.c

Next file: linux/drivers/net/3c501.c
Previous file: linux/drivers/isdn/isdn_net.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.98/linux/drivers/isdn/isdn_ppp.c linux/drivers/isdn/isdn_ppp.c
@@ -802,10 +802,12 @@
 	isdn_net_local *lp = nd->queue;
 	int proto = PPP_IP;	/* 0x21 */
 	struct ippp_struct *ipt = ippp_table[lp->ppp_minor];
+#if defined(CONFIG_ISDN_PPP_VJ) || defined(CONFIG_ISDN_MPP)
 	struct ippp_struct *ipts = ippp_table[lp->netdev->local.ppp_minor];
+#endif
 
         /* If packet is to be resent, it has already been processed and
-         * therefore it's first bytes are already initialized. In this case
+         * therefore its first bytes are already initialized. In this case
          * send it immediately ...
          */
         if (*((unsigned long *)skb->data) != 0)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this