summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChelsy Ratnawat <chelsyratnawat2001@gmail.com>2026-04-07 05:34:27 -0700
committerPing-Ke Shih <pkshih@realtek.com>2026-04-29 10:53:50 +0800
commitd603f2cfa623e9446b44d0c9bcc2cdd92cbda594 (patch)
tree3db8461749a7b10bcecfb60e69ba5ae62028056c /tools/perf/scripts/python
parent7068c379cf9aa8afe4dce4d9d82390187aa9c4d0 (diff)
wifi: rtlwifi: rtl8821ae: Remove dead code in rtl8821ae_update_hal_rate_table()
The variable 'mimo_ps' is initialized to IEEE80211_SMPS_OFF and never modified throughout the function. This makes the condition checking for IEEE80211_SMPS_STATIC always evaluate to false, rendering the entire if-branch unreachable dead code. The error was reported by Coverity Scan. Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260407123427.14612-1-chelsyratnawat2001@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions