Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209855
b: refs/heads/master
c: 1003201
h: refs/heads/master
i:
  209853: 2c40995
  209851: 1e47611
  209847: f201da8
  209839: 8d3563b
  209823: 64fa1e0
  209791: a7e46a4
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Aug 19, 2010
1 parent e04738b commit 3a90429
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 79c5f51c639021f7472591239c3867cee4b9ec02
refs/heads/master: 1003201a73daed739747b9a6c2c39c57aad5878b
2 changes: 0 additions & 2 deletions trunk/drivers/net/qlcnic/qlcnic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1983,8 +1983,6 @@ static struct net_device_stats *qlcnic_get_stats(struct net_device *netdev)
struct qlcnic_adapter *adapter = netdev_priv(netdev);
struct net_device_stats *stats = &netdev->stats;

memset(stats, 0, sizeof(*stats));

stats->rx_packets = adapter->stats.rx_pkts + adapter->stats.lro_pkts;
stats->tx_packets = adapter->stats.xmitfinished;
stats->rx_bytes = adapter->stats.rxbytes + adapter->stats.lrobytes;
Expand Down

0 comments on commit 3a90429

Please sign in to comment.