summaryrefslogtreecommitdiff
path: root/drivers/net/slip.h
diff options
context:
space:
mode:
authorMatvejchikov Ilya <matvejchikov@gmail.com>2011-08-03 19:12:15 -0700
committerDavid S. Miller <davem@davemloft.net>2011-08-03 19:12:15 -0700
commitf3f70bf6ac256b2c016e4f4561769f63dfb7c8f2 (patch)
treedf50139760d26623db996e2af0f4eb893c2e05f1 /drivers/net/slip.h
parent0d1d5875ef6c7903ab86ae3ecdbc78a5ca2e44ee (diff)
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.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/slip.h b/drivers/net/slip.h
index aa0764ce234..67673cf1266 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 */