Skip to content

Commit

Permalink
net: ibmvnic: Remove unused net_stats member from struct ibmvnic_adapter
Browse files Browse the repository at this point in the history
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: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Tobias Klauser authored and David S. Miller committed Mar 27, 2017
1 parent 8c2ef19 commit 656455b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/ibm/ibmvnic.h
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,6 @@ struct ibmvnic_adapter {
dma_addr_t bounce_buffer_dma;

/* Statistics */
struct net_device_stats net_stats;
struct ibmvnic_statistics stats;
dma_addr_t stats_token;
struct completion stats_done;
Expand Down

0 comments on commit 656455b

Please sign in to comment.