projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8570bcd
)
net: ibmveth: Remove unused stats member from struct ibmveth_adapter
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 27 Mar 2017 06:56:15 +0000
(08:56 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Mar 2017 23:02:00 +0000
(16:02 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmveth.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ibm/ibmveth.h
b/drivers/net/ethernet/ibm/ibmveth.h
index 7acda04d034e909269bf7c75befe125313150870..ed8780cca982cd6935eadb8a39a2e80cdc00448e 100644
(file)
--- 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;