* [PATCH net-next] net: ibmveth: Remove unused stats member from struct ibmveth_adapter
@ 2017-03-27 6:56 Tobias Klauser
2017-03-27 23:02 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2017-03-27 6:56 UTC (permalink / raw)
To: Thomas Falcon; +Cc: netdev, linuxppc-dev
The ibmveth driver keeps its statistics in net_device->stats, so the
stats member in struct ibmveth_adapter is unused. Remove it.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
drivers/net/ethernet/ibm/ibmveth.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/ibm/ibmveth.h b/drivers/net/ethernet/ibm/ibmveth.h
index 7acda04d034e..ed8780cca982 100644
--- a/drivers/net/ethernet/ibm/ibmveth.h
+++ b/drivers/net/ethernet/ibm/ibmveth.h
@@ -146,7 +146,6 @@ struct ibmveth_adapter {
struct vio_dev *vdev;
struct net_device *netdev;
struct napi_struct napi;
- struct net_device_stats stats;
unsigned int mcastFilterSize;
void * buffer_list_addr;
void * filter_list_addr;
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: ibmveth: Remove unused stats member from struct ibmveth_adapter
2017-03-27 6:56 [PATCH net-next] net: ibmveth: Remove unused stats member from struct ibmveth_adapter Tobias Klauser
@ 2017-03-27 23:02 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-03-27 23:02 UTC (permalink / raw)
To: tklauser; +Cc: tlfalcon, netdev, linuxppc-dev
From: Tobias Klauser <tklauser@distanz.ch>
Date: Mon, 27 Mar 2017 08:56:15 +0200
> The ibmveth driver keeps its statistics in net_device->stats, so the
> stats member in struct ibmveth_adapter is unused. Remove it.
>
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-27 23:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-27 6:56 [PATCH net-next] net: ibmveth: Remove unused stats member from struct ibmveth_adapter Tobias Klauser
2017-03-27 23:02 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).