Skip to content

Commit 656455b

Browse files
tklauserdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8c2ef19 commit 656455b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/ibm/ibmvnic.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,6 @@ struct ibmvnic_adapter {
953953
dma_addr_t bounce_buffer_dma;
954954

955955
/* Statistics */
956-
struct net_device_stats net_stats;
957956
struct ibmvnic_statistics stats;
958957
dma_addr_t stats_token;
959958
struct completion stats_done;

0 commit comments

Comments
 (0)