diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-01-06 10:27:31 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-01-16 18:23:49 +0200 |
commit | ebe8dee7aea6be7a775de718ee8fa93f77e3e4af (patch) | |
tree | 76db640f39dc95cddef26e3c9e793ff9e2a1430a /tools/lib/api/fs/tracing_path.c | |
parent | 803f3176c5df3b5582c27ea690f204abb60b19b9 (diff) | |
download | linux-ebe8dee7aea6be7a775de718ee8fa93f77e3e4af.tar.gz linux-ebe8dee7aea6be7a775de718ee8fa93f77e3e4af.tar.bz2 linux-ebe8dee7aea6be7a775de718ee8fa93f77e3e4af.zip |
wifi: rt2x00: Remove useless else if
The assignment of the else and else if branches is the same, so the else
if here is redundant, so we remove it.
./drivers/net/wireless/ralink/rt2x00/rt2800lib.c:8927:9-11: WARNING:
possible condition with no effect (if == else).
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3631
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230106022731.111243-1-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions