Re: [PATCH v2] wifi: rtw89: chan: Use swap() in rtw89_swap_sub_entity()
From: Ping-Ke Shih
Date: Sun Jun 02 2024 - 21:46:58 EST
Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> 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 <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9174
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
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