[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170327065659.27307-1-tklauser@distanz.ch>
Date: Mon, 27 Mar 2017 08:56:59 +0200
From: Tobias Klauser <tklauser@...tanz.ch>
To: Thomas Falcon <tlfalcon@...ux.vnet.ibm.com>,
John Allen <jallen@...ux.vnet.ibm.com>
Cc: netdev@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH net-next] 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@...tanz.ch>
---
drivers/net/ethernet/ibm/ibmvnic.h | 1 -
1 file changed, 1 deletion(-)
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;
--
2.11.0
Powered by blists - more mailing lists