summaryrefslogtreecommitdiffstats
path: root/net/caif/chnl_net.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-01-19 16:04:25 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-19 17:45:21 +0100
commit54c30f604dcc110dba21db7c2c09ddf25b65acbe (patch)
treea0c651a542c0194d44bc18e29a43bee4fff6eb0a /net/caif/chnl_net.c
parentnet/sched: cls_flower: reduce fl_change stack size (diff)
downloadlinux-54c30f604dcc110dba21db7c2c09ddf25b65acbe.tar.xz
linux-54c30f604dcc110dba21db7c2c09ddf25b65acbe.zip
net: caif: Remove unused stats member from struct chnl_net
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>
Diffstat (limited to 'net/caif/chnl_net.c')
-rw-r--r--net/caif/chnl_net.c1
1 files changed, 0 insertions, 1 deletions
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;