staging: rtl8723bs: remove 'NumTotalRFPath' from 'struct hal_com_data'

This variable is assigned the value 1, after which it is used as a loop
delimiter. Since it always stores 1, only one loop iteration is
performed. We can remove the 'NumTotalRFPath' field and remove the loop
by calling its body directly to simplify the code.

Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com>
Link: https://patch.msgid.link/20260621161611.111461-2-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Nikolay Kulikov 2026-06-21 19:12:28 +03:00 • committed by Greg Kroah-Hartman
commit 7958aaa91b
2 changed files with 46 additions and 58 deletions