2024-06-03 01:46:53

by Ping-Ke Shih

[permalink] [raw]
Subject: Re: [PATCH v2] wifi: rtw89: chan: Use swap() in rtw89_swap_sub_entity()

Jiapeng Chong <[email protected]> wrote:

> Use existing swap() function instead of keeping duplicate source code.
>
> ./drivers/net/wireless/realtek/rtw89/chan.c:2336:32-33: WARNING opportunity for swap().
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9174
> Signed-off-by: Jiapeng Chong <[email protected]>

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

9373ed280651 wifi: rtw89: chan: Use swap() in rtw89_swap_sub_entity()

---
https://github.com/pkshih/rtw.git