[PATCH net-next] net: caif: Remove unused stats member from struct chnl_net

Subsystems: networking [general], the rest

STALE3518d

2 messages, 2 authors, 2017-01-19 · open the first message on its own page

[PATCH net-next] net: caif: Remove unused stats member from struct chnl_net

From: Tobias Klauser <tklauser@distanz.ch>
Date: 2017-01-19 15:17:54

The stats member of struct chnl_net is used nowhere in the code, so it
might as well be removed.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 net/caif/chnl_net.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/net/caif/chnl_net.c b/net/caif/chnl_net.c
index 3408ed51b611..1816fc9f1ee7 100644
--- a/net/caif/chnl_net.c
+++ b/net/caif/chnl_net.c
@@ -44,7 +44,6 @@ enum caif_states {
 
 struct chnl_net {
 	struct cflayer chnl;
-	struct net_device_stats stats;
 	struct caif_connect_request conn_req;
 	struct list_head list_field;
 	struct net_device *netdev;
-- 
2.11.0

Re: [PATCH net-next] net: caif: Remove unused stats member from struct chnl_net

From: David Miller <davem@davemloft.net>
Date: 2017-01-19 16:51:39

From: Tobias Klauser <tklauser@distanz.ch>
Date: Thu, 19 Jan 2017 16:04:25 +0100
The stats member of struct chnl_net is used nowhere in the code, so it
might as well be removed.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help