Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcf5b92d authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman
Browse files

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: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b27c7160
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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;
+0 −1
Original line number Diff line number Diff line
@@ -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;