提交 656455bf 编写于 作者: T Tobias Klauser 提交者: David S. Miller

net: ibmvnic: Remove unused net_stats member from struct ibmvnic_adapter

The ibmvnic driver keeps its statistics in net_device->stats, so the
net_stats member in struct ibmvnic_adapter is unused. Remove it.
Signed-off-by: NTobias Klauser <tklauser@distanz.ch>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8c2ef197
...@@ -953,7 +953,6 @@ struct ibmvnic_adapter { ...@@ -953,7 +953,6 @@ struct ibmvnic_adapter {
dma_addr_t bounce_buffer_dma; dma_addr_t bounce_buffer_dma;
/* Statistics */ /* Statistics */
struct net_device_stats net_stats;
struct ibmvnic_statistics stats; struct ibmvnic_statistics stats;
dma_addr_t stats_token; dma_addr_t stats_token;
struct completion stats_done; struct completion stats_done;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册