diff options
author | Matvejchikov Ilya <matvejchikov@gmail.com> | 2011-08-04 04:12:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-04 04:12:15 +0200 |
commit | f3f70bf6ac256b2c016e4f4561769f63dfb7c8f2 (patch) | |
tree | df50139760d26623db996e2af0f4eb893c2e05f1 /drivers/net/slip.h | |
parent | be2net: fix cmd-rx-filter not notifying MCC (diff) | |
download | linux-f3f70bf6ac256b2c016e4f4561769f63dfb7c8f2.tar.xz linux-f3f70bf6ac256b2c016e4f4561769f63dfb7c8f2.zip |
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 aa0764ce2342..67673cf1266b 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 */ |