diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-01-08 16:52:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 17:03:37 -0500 |
commit | 991990a12de42281f81b4e3a6471586d2d0caf6a (patch) | |
tree | 7b7ad34cf8218dab2ddd882a87b7c7a687b7d2ee /drivers/net/wan/hdlc_cisco.c | |
parent | dff3fde7be8f08c78914fca3d25e1cffe7625faa (diff) |
WAN: Convert generic HDLC drivers to netdev_ops.
Also remove unneeded last_rx update from Synclink drivers.
Synclink part mostly by Stephen Hemminger.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/hdlc_cisco.c')
-rw-r--r-- | drivers/net/wan/hdlc_cisco.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wan/hdlc_cisco.c b/drivers/net/wan/hdlc_cisco.c index 44e64b15dbd1..af3fd4fead8a 100644 --- a/drivers/net/wan/hdlc_cisco.c +++ b/drivers/net/wan/hdlc_cisco.c | |||
@@ -382,7 +382,6 @@ static int cisco_ioctl(struct net_device *dev, struct ifreq *ifr) | |||
382 | 382 | ||
383 | memcpy(&state(hdlc)->settings, &new_settings, size); | 383 | memcpy(&state(hdlc)->settings, &new_settings, size); |
384 | spin_lock_init(&state(hdlc)->lock); | 384 | spin_lock_init(&state(hdlc)->lock); |
385 | dev->hard_start_xmit = hdlc->xmit; | ||
386 | dev->header_ops = &cisco_header_ops; | 385 | dev->header_ops = &cisco_header_ops; |
387 | dev->type = ARPHRD_CISCO; | 386 | dev->type = ARPHRD_CISCO; |
388 | netif_dormant_on(dev); | 387 | netif_dormant_on(dev); |