[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <163456030329.5790.17899781504247161319.kvalo@codeaurora.org>
Date: Mon, 18 Oct 2021 12:31:47 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin King <colin.king@...onical.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Ping-Ke Shih <pkshih@...ltek.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] rtw89: Remove redundant check of ret after call to
rtw89_mac_enable_bb_rf
Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The function rtw89_mac_enable_bb_rf is a void return type, so there is
> no return error code to ret, so the following check for an error in ret
> is redundant dead code and can be removed.
>
> Addresses-Coverity: ("Logically dead code")
> Fixes: e3ec7017f6a2 ("rtw89: add Realtek 802.11ax driver")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Acked-by: Ping-Ke Shih <pkshih@...ltek.com>
Patch applied to wireless-drivers-next.git, thanks.
f7e7e440550b rtw89: Remove redundant check of ret after call to rtw89_mac_enable_bb_rf
--
https://patchwork.kernel.org/project/linux-wireless/patch/20211015152113.33179-1-colin.king@canonical.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists