ath10k: Remove redundant assignment to changed_flags
Subsystems (3)
PATCH 1/1 ath10k: Remove redundant assignment to changed_flags
Variable changed_flags is assigned, but is not effectively used, so delete it.
drivers/net/wireless/ath/ath10k/mac.c:6024:22: warning: parameter 'changed_flags' set but not used.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/net/wireless/ath/ath10k/mac.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/wireless/ath/ath10k/mac.c +0 -1
@@ -6030,7 +6030,6 @@ static void ath10k_configure_filter(struct ieee80211_hw *hw,mutex_lock (&ar->conf_mutex); - changed_flags &=SUPPORTED_FILTERS ; *total_flags &=SUPPORTED_FILTERS ; ar->filter_flags = *total_flags;
Signature · 1 line
2.20.1.7.g153144c
Quoted 8 lines · Jiapeng Chong
Variable
changed_flagsis assigned, but is not effectively used, so delete it.
drivers/net/wireless/ath/ath10k/mac.c:6024:22: warning: parameter 'changed_flags' set but not used.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>
Reviewed-by Simon Horman <[email protected]>
Quoted 10 lines · Jiapeng Chong
Variable
changed_flagsis assigned, but is not effectively used, so delete it.
drivers/net/wireless/ath/ath10k/mac.c:6024:22: warning: parameter 'changed_flags' set but not used.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>Reviewed-by Simon Horman <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
7c4c511f74ba wifi: ath10k: Remove redundant assignment to changed_flags
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches