Subject: Re: [PATCH] rtw88: remove unnecessary variable

From: Kalle Valo <[email-masked]>
Date: Mon, 15 Mar 2021 08:23:41 +0000 (UTC)

samirweng1979 <[email-masked]> wrote:

> From: wengjianfeng <[email-masked]>
> 
> The variable ret is defined at the beginning and initialized
> to 0 until the function returns ret, and the variable ret is
> not reassigned.Therefore, we do not need to define the variable
> ret, just return 0 directly at the end of the function.
> 
> Signed-off-by: wengjianfeng <[email-masked]>

Patch applied to wireless-drivers-next.git, thanks.

4a7ea94377c9 rtw88: remove unnecessary variable

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/[email-masked]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches