]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: caif: Remove unused stats member from struct chnl_net
authorTobias Klauser <tklauser@distanz.ch>
Thu, 19 Jan 2017 15:04:25 +0000 (16:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jan 2017 16:45:21 +0000 (11:45 -0500)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/chnl_net.c

index 3408ed51b611c9a7ff8d0575580fd972e2801a7a..1816fc9f1ee779f85874e886a9ba6db721c60680 100644 (file)
@@ -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;