mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-12 17:26:47 -04:00
staging: rtl8192e: Remove unused variables ForcedAMSDUMaxSize, ...
Remove unused variables that are may just once written but never read ForcedAMSDUMaxSize, PeerBandwidth, SwBwStep, bIsPeerBcm and bAcceptAddbaReq to avoid CamelCase which is not accepted by checkpatch. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/0f3e63030511f72dbadc0368fd5e2dbd3ff84e07.1664055213.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
53be6238f8
commit
9d92bb1d89
@@ -138,8 +138,6 @@ struct rt_hi_throughput {
|
||||
u8 forced_mpdu_density;
|
||||
|
||||
enum ht_aggre_mode ForcedAMSDUMode;
|
||||
u16 ForcedAMSDUMaxSize;
|
||||
|
||||
u8 forced_short_gi;
|
||||
|
||||
u8 current_op_mode;
|
||||
@@ -149,11 +147,7 @@ struct rt_hi_throughput {
|
||||
|
||||
enum ht_extchnl_offset CurSTAExtChnlOffset;
|
||||
u8 cur_tx_bw40mhz;
|
||||
u8 PeerBandwidth;
|
||||
|
||||
u8 sw_bw_in_progress;
|
||||
u8 SwBwStep;
|
||||
|
||||
u8 reg_rt2rt_aggregation;
|
||||
u8 RT2RT_HT_Mode;
|
||||
u8 current_rt2rt_aggregation;
|
||||
@@ -165,17 +159,12 @@ struct rt_hi_throughput {
|
||||
u8 rx_reorder_win_size;
|
||||
u8 rx_reorder_pending_time;
|
||||
u16 rx_reorder_drop_counter;
|
||||
|
||||
u8 bIsPeerBcm;
|
||||
|
||||
u8 IOTPeer;
|
||||
u32 iot_action;
|
||||
u8 iot_ra_func;
|
||||
|
||||
u8 bWAIotBroadcom;
|
||||
u8 WAIotTH;
|
||||
|
||||
u8 bAcceptAddbaReq;
|
||||
} __packed;
|
||||
|
||||
struct bss_ht {
|
||||
|
||||
@@ -70,9 +70,6 @@ static u8 LINKSYS_MARVELL_4400N[3] = {0x00, 0x14, 0xa4};
|
||||
void HTUpdateDefaultSetting(struct rtllib_device *ieee)
|
||||
{
|
||||
struct rt_hi_throughput *pHTInfo = ieee->pHTInfo;
|
||||
|
||||
pHTInfo->bAcceptAddbaReq = 1;
|
||||
|
||||
pHTInfo->bRegShortGI20MHz = 1;
|
||||
pHTInfo->bRegShortGI40MHz = 1;
|
||||
|
||||
@@ -603,7 +600,6 @@ void HTOnAssocRsp(struct rtllib_device *ieee)
|
||||
if (pHTInfo->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K) {
|
||||
pHTInfo->bCurrentAMPDUEnable = false;
|
||||
pHTInfo->ForcedAMSDUMode = HT_AGG_FORCE_ENABLE;
|
||||
pHTInfo->ForcedAMSDUMaxSize = 7935;
|
||||
}
|
||||
pHTInfo->cur_rx_reorder_enable = pHTInfo->reg_rx_reorder_enable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user