Thread (2 messages) flat view 2 messages, 2 authors, 2021-03-15

Re: [PATCH] rtw88: remove unnecessary variable

From: Kalle Valo <hidden>
Date: 2021-03-15 08:24:27
Also in: linux-wireless

samirweng1979 [off-list ref] wrote:
From: wengjianfeng <redacted>

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 <redacted>
Patch applied to wireless-drivers-next.git, thanks.

4a7ea94377c9 rtw88: remove unnecessary variable

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210223075438.13676-1-samirweng1979@163.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help