[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6c24f3d4-0817-4ad1-8ecb-236bf6af847a@RTEXMBS04.realtek.com.tw>
Date: Mon, 29 Apr 2024 09:47:05 +0800
From: Ping-Ke Shih <pkshih@...ltek.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>, <pkshih@...ltek.com>
CC: <kvalo@...nel.org>, <linux-wireless@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
Jiapeng Chong
<jiapeng.chong@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH v2] wifi: rtw89: Remove the redundant else branch in the function rtw89_phy_get_kpath
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com> wrote:
> The assignment of the else and if branches is the same in the "case:
> MLO_2_PLUS_0_1RF" branch of the function rtw89_phy_get_kpath, so we
> remove it and add comments here to make the code easier to understand.
>
> ./drivers/net/wireless/realtek/rtw89/phy.c:6406:2-4: WARNING: possible condition with no effect (if == else).
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8812
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
5eb027019fa3 wifi: rtw89: Remove the redundant else branch in the function rtw89_phy_get_kpath
---
https://github.com/pkshih/rtw.git
Powered by blists - more mailing lists