Re: [PATCH] wifi: rtl8xxxu: use swap() in rtl8xxxu_switch_ports()

From: Ping-Ke Shih
Date: Fri Jun 21 2024 - 08:51:35 EST


Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> wrote:

> Use existing swap() function rather than duplicating its implementation.
>
> ./drivers/net/wireless/realtek/rtl8xxxu/core.c:6749:30-31: WARNING opportunity for swap().
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9358
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

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

6c3b5970b0c4 wifi: rtl8xxxu: use swap() in rtl8xxxu_switch_ports()

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