diff options
Diffstat (limited to 'drivers/net/hp100.c')
-rw-r--r-- | drivers/net/hp100.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/drivers/net/hp100.c b/drivers/net/hp100.c index 571dd80fb850..1f86240bc0f8 100644 --- a/drivers/net/hp100.c +++ b/drivers/net/hp100.c | |||
@@ -1834,7 +1834,6 @@ static void hp100_rx(struct net_device *dev) | |||
1834 | ptr[9], ptr[10], ptr[11]); | 1834 | ptr[9], ptr[10], ptr[11]); |
1835 | #endif | 1835 | #endif |
1836 | netif_rx(skb); | 1836 | netif_rx(skb); |
1837 | dev->last_rx = jiffies; | ||
1838 | lp->stats.rx_packets++; | 1837 | lp->stats.rx_packets++; |
1839 | lp->stats.rx_bytes += pkt_len; | 1838 | lp->stats.rx_bytes += pkt_len; |
1840 | } | 1839 | } |
@@ -1925,7 +1924,6 @@ static void hp100_rx_bm(struct net_device *dev) | |||
1925 | 1924 | ||
1926 | netif_rx(ptr->skb); /* Up and away... */ | 1925 | netif_rx(ptr->skb); /* Up and away... */ |
1927 | 1926 | ||
1928 | dev->last_rx = jiffies; | ||
1929 | lp->stats.rx_packets++; | 1927 | lp->stats.rx_packets++; |
1930 | lp->stats.rx_bytes += pkt_len; | 1928 | lp->stats.rx_bytes += pkt_len; |
1931 | } | 1929 | } |
@@ -2093,9 +2091,8 @@ static void hp100_set_multicast_list(struct net_device *dev) | |||
2093 | addrs = dmi->dmi_addr; | 2091 | addrs = dmi->dmi_addr; |
2094 | if ((*addrs & 0x01) == 0x01) { /* multicast address? */ | 2092 | if ((*addrs & 0x01) == 0x01) { /* multicast address? */ |
2095 | #ifdef HP100_DEBUG | 2093 | #ifdef HP100_DEBUG |
2096 | DECLARE_MAC_BUF(mac); | 2094 | printk("hp100: %s: multicast = %pM, ", |
2097 | printk("hp100: %s: multicast = %s, ", | 2095 | dev->name, addrs); |
2098 | dev->name, print_mac(mac, addrs)); | ||
2099 | #endif | 2096 | #endif |
2100 | for (j = idx = 0; j < 6; j++) { | 2097 | for (j = idx = 0; j < 6; j++) { |
2101 | idx ^= *addrs++ & 0x3f; | 2098 | idx ^= *addrs++ & 0x3f; |
@@ -3057,12 +3054,3 @@ static void __exit hp100_module_exit(void) | |||
3057 | 3054 | ||
3058 | module_init(hp100_module_init) | 3055 | module_init(hp100_module_init) |
3059 | module_exit(hp100_module_exit) | 3056 | module_exit(hp100_module_exit) |
3060 | |||
3061 | |||
3062 | /* | ||
3063 | * Local variables: | ||
3064 | * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c hp100.c" | ||
3065 | * c-indent-level: 2 | ||
3066 | * tab-width: 8 | ||
3067 | * End: | ||
3068 | */ | ||