Commit 7846f0b6 authored by Mohammed Anees's avatar Mohammed Anees Committed by Ping-Ke Shih
Browse files

wifi: rtw88: Refactor looping in rtw_phy_store_tx_power_by_rate



The previous implementation included an unnecessary else
condition paired with a continue statement. Since a check
is already performed to determine if the band is either
2G or 5G, the else condition will never be triggered.
We can remove this check.

Signed-off-by: default avatarMohammed Anees <pvmohammedanees2003@gmail.com>
Acked-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241017080638.13074-1-pvmohammedanees2003@gmail.com
parent 39fc7d38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment