staging: rtl8192e: Remove rt_hi_throughput::ChnkOp
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>
This commit is contained in:
parent
b27c7160c5
commit
bcf5b92d9b
@ -37,13 +37,6 @@ enum ht_extchnl_offset {
|
|||||||
HT_EXTCHNL_OFFSET_LOWER = 3,
|
HT_EXTCHNL_OFFSET_LOWER = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum chnl_op {
|
|
||||||
CHNLOP_NONE = 0,
|
|
||||||
CHNLOP_SCAN = 1,
|
|
||||||
CHNLOP_SWBW = 2,
|
|
||||||
CHNLOP_SWCHNL = 3,
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ht_capab_ele {
|
struct ht_capab_ele {
|
||||||
|
|
||||||
u8 AdvCoding:1;
|
u8 AdvCoding:1;
|
||||||
@ -173,7 +166,6 @@ struct rt_hi_throughput {
|
|||||||
u8 PeerBandwidth;
|
u8 PeerBandwidth;
|
||||||
|
|
||||||
u8 bSwBwInProgress;
|
u8 bSwBwInProgress;
|
||||||
enum chnl_op ChnlOp;
|
|
||||||
u8 SwBwStep;
|
u8 SwBwStep;
|
||||||
|
|
||||||
u8 bRegRT2RTAggregation;
|
u8 bRegRT2RTAggregation;
|
||||||
|
@ -676,7 +676,6 @@ void HTInitializeHTInfo(struct rtllib_device *ieee)
|
|||||||
sizeof(pHTInfo->PeerHTInfoBuf));
|
sizeof(pHTInfo->PeerHTInfoBuf));
|
||||||
|
|
||||||
pHTInfo->bSwBwInProgress = false;
|
pHTInfo->bSwBwInProgress = false;
|
||||||
pHTInfo->ChnlOp = CHNLOP_NONE;
|
|
||||||
|
|
||||||
pHTInfo->ePeerHTSpecVer = HT_SPEC_VER_IEEE;
|
pHTInfo->ePeerHTSpecVer = HT_SPEC_VER_IEEE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user