diff options
Diffstat (limited to 'drivers/net/wan/hdlc_ppp.c')
-rw-r--r-- | drivers/net/wan/hdlc_ppp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wan/hdlc_ppp.c b/drivers/net/wan/hdlc_ppp.c index 57fe714c1c7f..7b8a5eae201d 100644 --- a/drivers/net/wan/hdlc_ppp.c +++ b/drivers/net/wan/hdlc_ppp.c | |||
@@ -558,7 +558,6 @@ out: | |||
558 | return NET_RX_DROP; | 558 | return NET_RX_DROP; |
559 | } | 559 | } |
560 | 560 | ||
561 | |||
562 | static void ppp_timer(unsigned long arg) | 561 | static void ppp_timer(unsigned long arg) |
563 | { | 562 | { |
564 | struct proto *proto = (struct proto *)arg; | 563 | struct proto *proto = (struct proto *)arg; |
@@ -679,7 +678,6 @@ static int ppp_ioctl(struct net_device *dev, struct ifreq *ifr) | |||
679 | ppp->keepalive_interval = 10; | 678 | ppp->keepalive_interval = 10; |
680 | ppp->keepalive_timeout = 60; | 679 | ppp->keepalive_timeout = 60; |
681 | 680 | ||
682 | dev->hard_start_xmit = hdlc->xmit; | ||
683 | dev->hard_header_len = sizeof(struct hdlc_header); | 681 | dev->hard_header_len = sizeof(struct hdlc_header); |
684 | dev->header_ops = &ppp_header_ops; | 682 | dev->header_ops = &ppp_header_ops; |
685 | dev->type = ARPHRD_PPP; | 683 | dev->type = ARPHRD_PPP; |