Message ID | 20170119150425.12559-1-tklauser@distanz.ch |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
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.
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;
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(-)