Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133836
b: refs/heads/master
c: dff3fde
h: refs/heads/master
v: v3
  • Loading branch information
Krzysztof Hałasa authored and David S. Miller committed Jan 21, 2009
1 parent afeb6b0 commit 3287672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7cdc15f5f9db71e9c92422918ab9f8df0d31f81f
refs/heads/master: dff3fde7be8f08c78914fca3d25e1cffe7625faa
12 changes: 1 addition & 11 deletions trunk/drivers/net/wan/hdlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,6 @@ static int hdlc_change_mtu(struct net_device *dev, int new_mtu)
return 0;
}



static struct net_device_stats *hdlc_get_stats(struct net_device *dev)
{
return &dev->stats;
}



static int hdlc_rcv(struct sk_buff *skb, struct net_device *dev,
struct packet_type *p, struct net_device *orig_dev)
{
Expand Down Expand Up @@ -102,7 +93,7 @@ static int hdlc_device_event(struct notifier_block *this, unsigned long event,
hdlc_device *hdlc;
unsigned long flags;
int on;

if (dev_net(dev) != &init_net)
return NOTIFY_DONE;

Expand Down Expand Up @@ -233,7 +224,6 @@ static void hdlc_setup_dev(struct net_device *dev)
/* Re-init all variables changed by HDLC protocol drivers,
* including ether_setup() called from hdlc_raw_eth.c.
*/
dev->get_stats = hdlc_get_stats;
dev->flags = IFF_POINTOPOINT | IFF_NOARP;
dev->priv_flags = IFF_WAN_HDLC;
dev->mtu = HDLC_MAX_MTU;
Expand Down

0 comments on commit 3287672

Please sign in to comment.