staging: rtl8192e: Remove dead code: rt_stats
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Tue, 2 Jun 2015 20:48:12 +0000 (22:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:44:15 +0000 (13:44 -0700)
Remove unused fields from rt_stats structure.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.h

index 7d18d05039d23d3d8be4ceac51f0ab40ef7b3851..71f0c0274c51096137680b9a19354c42f8bfabce 100644 (file)
@@ -199,12 +199,8 @@ enum reset_type {
 };
 
 struct rt_stats {
-       unsigned long txrdu;
        unsigned long rxrdu;
        unsigned long rxok;
-       unsigned long rxframgment;
-       unsigned long rxurberr;
-       unsigned long rxstaterr;
        unsigned long rxdatacrcerr;
        unsigned long rxmgmtcrcerr;
        unsigned long rxcrcerrmin;
@@ -212,8 +208,6 @@ struct rt_stats {
        unsigned long rxcrcerrmax;
        unsigned long received_rate_histogram[4][32];
        unsigned long received_preamble_GI[2][32];
-       unsigned long   rx_AMPDUsize_histogram[5];
-       unsigned long rx_AMPDUnum_histogram[5];
        unsigned long numpacket_matchbssid;
        unsigned long numpacket_toself;
        unsigned long num_process_phyinfo;
@@ -221,58 +215,24 @@ struct rt_stats {
        unsigned long numqry_phystatusCCK;
        unsigned long numqry_phystatusHT;
        unsigned long received_bwtype[5];
-       unsigned long txnperr;
-       unsigned long txnpdrop;
-       unsigned long txresumed;
        unsigned long rxoverflow;
        unsigned long rxint;
-       unsigned long txnpokint;
        unsigned long ints;
        unsigned long shints;
        unsigned long txoverflow;
-       unsigned long txlpokint;
-       unsigned long txlpdrop;
-       unsigned long txlperr;
        unsigned long txbeokint;
-       unsigned long txbedrop;
-       unsigned long txbeerr;
        unsigned long txbkokint;
-       unsigned long txbkdrop;
-       unsigned long txbkerr;
        unsigned long txviokint;
-       unsigned long txvidrop;
-       unsigned long txvierr;
        unsigned long txvookint;
-       unsigned long txvodrop;
-       unsigned long txvoerr;
        unsigned long txbeaconokint;
-       unsigned long txbeacondrop;
        unsigned long txbeaconerr;
        unsigned long txmanageokint;
-       unsigned long txmanagedrop;
-       unsigned long txmanageerr;
        unsigned long txcmdpktokint;
-       unsigned long txdatapkt;
-       unsigned long txfeedback;
-       unsigned long txfeedbackok;
-       unsigned long txoktotal;
-       unsigned long txokbytestotal;
-       unsigned long txokinperiod;
-       unsigned long txmulticast;
        unsigned long txbytesmulticast;
-       unsigned long txbroadcast;
        unsigned long txbytesbroadcast;
-       unsigned long txunicast;
        unsigned long txbytesunicast;
        unsigned long rxbytesunicast;
-       unsigned long txfeedbackfail;
-       unsigned long txerrtotal;
-       unsigned long txerrbytestotal;
-       unsigned long txerrmulticast;
-       unsigned long txerrbroadcast;
-       unsigned long txerrunicast;
        unsigned long txretrycount;
-       unsigned long txfeedbackretry;
        u8      last_packet_rate;
        unsigned long slide_signal_strength[100];
        unsigned long slide_evm[100];