From: Emmanuel Grumbach ndp is assigned twice in the same declaration, which is a typo. Drop the duplicate self-assignment. Spotted by Coverity. Assisted-by: LLM Signed-off-by: Emmanuel Grumbach Reviewed-by: Johannes Berg Signed-off-by: Miri Korenblit --- net/mac80211/agg-tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c index 64aac8f733c8..01b3632ef8b4 100644 --- a/net/mac80211/agg-tx.c +++ b/net/mac80211/agg-tx.c @@ -1037,7 +1037,7 @@ void ieee80211_stop_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) { struct ieee80211_sub_if_data *sdata = sta->sdata; - bool ndp = ndp = tid_tx->ndp; + bool ndp = tid_tx->ndp; bool send_delba = false; bool start_txq = false; -- 2.34.1