diff options
author | Matvejchikov Ilya <matvejchikov@gmail.com> | 2011-08-03 19:12:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-03 19:12:15 -0700 |
commit | f3f70bf6ac256b2c016e4f4561769f63dfb7c8f2 (patch) | |
tree | df50139760d26623db996e2af0f4eb893c2e05f1 /drivers/net/slip.h | |
parent | 0d1d5875ef6c7903ab86ae3ecdbc78a5ca2e44ee (diff) | |
download | op-kernel-dev-f3f70bf6ac256b2c016e4f4561769f63dfb7c8f2.zip op-kernel-dev-f3f70bf6ac256b2c016e4f4561769f63dfb7c8f2.tar.gz |
slip: cleanup statistics generation
Remove unused tx_compressed, tx_compressed and tx_misses fields from
the slip structure. Also, make some device stats generation cleanups.
Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/slip.h')
-rw-r--r-- | drivers/net/slip.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/slip.h b/drivers/net/slip.h index aa0764c..67673cf 100644 --- a/drivers/net/slip.h +++ b/drivers/net/slip.h @@ -65,15 +65,6 @@ struct slip { unsigned char *xbuff; /* transmitter buffer */ unsigned char *xhead; /* pointer to next byte to XMIT */ int xleft; /* bytes left in XMIT queue */ - - /* SLIP interface statistics. */ -#ifdef SL_INCLUDE_CSLIP - unsigned long tx_compressed; - unsigned long rx_compressed; - unsigned long tx_misses; -#endif - /* Detailed SLIP statistics. */ - int mtu; /* Our mtu (to spot changes!) */ int buffsize; /* Max buffers sizes */ |