* [PATCH v1] drivers: mvm: remove duplicate assignments
@ 2023-07-05 6:34 Minjie Du
2023-07-20 6:32 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Minjie Du @ 2023-07-05 6:34 UTC (permalink / raw)
To: Gregory Greenman, Kalle Valo, Stephen Rothwell, Minjie Du,
open list:INTEL WIRELESS WIFI LINK (iwlwifi), open list
Cc: opensource.kernel
make link_sta->agg.max_amsdu_len avoid double assignment.
Signed-off-by: Minjie Du <duminjie@vivo.com>
---
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
index cf27f106d..7f48457a9 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
@@ -455,7 +455,6 @@ static ssize_t iwl_dbgfs_amsdu_len_write(struct ieee80211_link_sta *link_sta,
if (amsdu_len) {
mvm_link_sta->orig_amsdu_len = link_sta->agg.max_amsdu_len;
link_sta->agg.max_amsdu_len = amsdu_len;
- link_sta->agg.max_amsdu_len = amsdu_len;
for (i = 0; i < ARRAY_SIZE(link_sta->agg.max_tid_amsdu_len); i++)
link_sta->agg.max_tid_amsdu_len[i] = amsdu_len;
} else {
--
2.39.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] drivers: mvm: remove duplicate assignments
2023-07-05 6:34 [PATCH v1] drivers: mvm: remove duplicate assignments Minjie Du
@ 2023-07-20 6:32 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2023-07-20 6:32 UTC (permalink / raw)
To: Minjie Du
Cc: Gregory Greenman, Stephen Rothwell,
open list:INTEL WIRELESS WIFI LINK (iwlwifi), open list,
opensource.kernel
Minjie Du <duminjie@vivo.com> writes:
> make link_sta->agg.max_amsdu_len avoid double assignment.
>
> Signed-off-by: Minjie Du <duminjie@vivo.com>
> ---
> drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 1 -
> 1 file changed, 1 deletion(-)
The title should be:
wifi: iwlwifi: mvm: remove duplicate assignments
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-20 6:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-05 6:34 [PATCH v1] drivers: mvm: remove duplicate assignments Minjie Du
2023-07-20 6:32 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).