aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/slip.h
diff options
context:
space:
mode:
authorMatvejchikov Ilya <matvejchikov@gmail.com>2011-08-03 22:12:15 -0400
committerDavid S. Miller <davem@davemloft.net>2011-08-03 22:12:15 -0400
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 aa0764ce2342..67673cf1266b 100644
--- a/drivers/net/slip.h
+++ b/drivers/net/slip.h
@@ -65,15 +65,6 @@ struct slip {
65 unsigned char *xbuff; /* transmitter buffer */ 65 unsigned char *xbuff; /* transmitter buffer */
66 unsigned char *xhead; /* pointer to next byte to XMIT */ 66 unsigned char *xhead; /* pointer to next byte to XMIT */
67 int xleft; /* bytes left in XMIT queue */ 67 int xleft; /* bytes left in XMIT queue */
68
69 /* SLIP interface statistics. */
70#ifdef SL_INCLUDE_CSLIP
71 unsigned long tx_compressed;
72 unsigned long rx_compressed;
73 unsigned long tx_misses;
74#endif
75 /* Detailed SLIP statistics. */
76
77 int mtu; /* Our mtu (to spot changes!) */ 68 int mtu; /* Our mtu (to spot changes!) */
78 int buffsize; /* Max buffers sizes */ 69 int buffsize; /* Max buffers sizes */
79 70