]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Remove rt_hi_throughput::ChnkOp
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Mon, 15 Jun 2015 19:05:58 +0000 (21:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2015 04:35:01 +0000 (21:35 -0700)
Field was initialized and never used.
This patch also removes chnl_op enum that was only
referenced by ChnkOp init code.

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

index 05358102cbdb18f6c84a43e1a25dabe6ccd870a1..0c263d9f724639b1b66f5e216ae4bf49b9be2db0 100644 (file)
@@ -37,13 +37,6 @@ enum ht_extchnl_offset {
        HT_EXTCHNL_OFFSET_LOWER = 3,
 };
 
-enum chnl_op {
-       CHNLOP_NONE = 0,
-       CHNLOP_SCAN = 1,
-       CHNLOP_SWBW = 2,
-       CHNLOP_SWCHNL = 3,
-};
-
 struct ht_capab_ele {
 
        u8      AdvCoding:1;
@@ -173,7 +166,6 @@ struct rt_hi_throughput {
        u8                              PeerBandwidth;
 
        u8                              bSwBwInProgress;
-       enum chnl_op ChnlOp;
        u8                              SwBwStep;
 
        u8                              bRegRT2RTAggregation;
index dcf8db1a7d29c4397e1337f1c2b610e94f85cadb..b5c3647b0f80492af8996c0b717962126b36b57b 100644 (file)
@@ -676,7 +676,6 @@ void HTInitializeHTInfo(struct rtllib_device *ieee)
                sizeof(pHTInfo->PeerHTInfoBuf));
 
        pHTInfo->bSwBwInProgress = false;
-       pHTInfo->ChnlOp = CHNLOP_NONE;
 
        pHTInfo->ePeerHTSpecVer = HT_SPEC_VER_IEEE;