diff options
author | Philipp Hortmann <philipp.g.hortmann@gmail.com> | 2023-12-10 16:26:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-15 13:35:21 +0100 |
commit | b1691deaec49715fbdf73ae7184bc2f3a3944b77 (patch) | |
tree | dd4e28fcfdb3b1659bfc924264c50badb9d1741c /drivers/staging | |
parent | 7419f917d321546d9587656dbd41337c238dfa8d (diff) |
staging: rtl8192e: Remove variable ForcedAMSDUMode
ForcedAMSDUMode is set to 1 and then never evaluated.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/ae8ea27e2c3708754b798f09ba43ed50a24b8a55.1702212003.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HT.h | 1 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HTProc.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index d249062e7b66..670affe9d57b 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -115,7 +115,6 @@ struct rt_hi_throughput { u8 current_mpdu_density; u8 forced_ampdu_factor; u8 forced_mpdu_density; - enum ht_aggre_mode ForcedAMSDUMode; u8 forced_short_gi; u8 current_op_mode; u8 self_mimo_ps; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 0a5885d6c0a0..bedee290e7f5 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -513,7 +513,6 @@ void HTOnAssocRsp(struct rtllib_device *ieee) pPeerHTCap->MPDUDensity); if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K) { ht_info->current_ampdu_enable = false; - ht_info->ForcedAMSDUMode = HT_AGG_FORCE_ENABLE; } ht_info->cur_rx_reorder_enable = ht_info->reg_rx_reorder_enable; |