diff options
| author | Minjie Du <[email protected]> | 2024-12-29 14:44:49 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2025-01-13 14:26:43 +0000 |
| commit | 81a6f4540df9b770078f7189290d281718f11419 (patch) | |
| tree | ee736a4a3c895eac4ff666da844f8f3103a93cd8 | |
| parent | wifi: iwlwifi: mvm: Use helper function IS_ERR_OR_NULL() (diff) | |
| download | kernel-81a6f4540df9b770078f7189290d281718f11419.tar.gz kernel-81a6f4540df9b770078f7189290d281718f11419.zip | |
wifi: iwlwifi: Remove a duplicate assignment in iwl_dbgfs_amsdu_len_write()
Delete a duplicate statement from this function implementation.
Signed-off-by: Minjie Du <[email protected]>
Link: https://msgid.link/[email protected]
Signed-off-by: Miri Korenblit <[email protected]>
Reviewed-by: Emmanuel Grumbach <[email protected]>
Link: https://patch.msgid.link/20241229164246.b1b0dadc2e9e.Ie57cbe8039b9f388632141447ac910b6fcc3d0c0@changeid
Signed-off-by: Johannes Berg <[email protected]>
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c index 2472a78ada47..6ec1cae5314a 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c @@ -463,7 +463,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 { |
