[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d1f56e9441ac452996a91f0b535c9e82@realtek.com>
Date: Thu, 11 Jul 2024 00:20:37 +0000
From: Ping-Ke Shih <pkshih@...ltek.com>
To: Thorsten Blum <thorsten.blum@...lux.com>,
"Jes.Sorensen@...il.com"
<Jes.Sorensen@...il.com>,
"kvalo@...nel.org" <kvalo@...nel.org>
CC: "linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] wifi: rtl8xxxu: Use swap() to improve rtl8xxxu_switch_ports()
Thorsten Blum <thorsten.blum@...lux.com> wrote:
> Use the swap() macro to simplify the rtl8xxxu_switch_ports() function
> and improve its readability. Remove the local variable vif.
>
> Fixes the following Coccinelle/coccicheck warning reported by
> swap.cocci:
>
> WARNING opportunity for swap()
>
> Compile-tested only.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...lux.com>
The same patch [1] has been applied.
[1] https://patch.msgid.link/20240619024017.53246-1-jiapeng.chong@linux.alibaba.com
Powered by blists - more mailing lists