diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-03-27 08:56:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-27 16:02:00 -0700 |
commit | 656455bf19f6a58e3fc5441a4cdcc8f598979329 (patch) | |
tree | 8a857079d68ea8ac114edda789e947150d628e6f /drivers/net/ethernet/ibm | |
parent | 8c2ef1978fd4b818d3269554016bd29bfe880562 (diff) |
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: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h index 10ad259208cb..42ad648c174d 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.h +++ b/drivers/net/ethernet/ibm/ibmvnic.h @@ -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; |