wifi: rtlwifi: use convenient list_count_nodes()

Simplify 'rtl92ee_dm_common_info_self_update()',
'rtl8723be_dm_common_info_self_update()', and
'rtl8821ae_dm_common_info_self_update()' by using
'list_count_nodes()'. Compile tested only.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231011045227.7989-1-dmantipov@yandex.ru
This commit is contained in:
Dmitry Antipov 2023-10-11 07:52:01 +03:00 • committed by Kalle Valo
commit 0c27d27258
3 changed files with 6 additions and 14 deletions