Re: [PATCH v4 0/2] staging: rtl8723bs: clean up rtw_joinbss_event_prehandle

From: Dan Carpenter

Date: Sat Mar 21 2026 - 17:27:51 EST


On Sat, Mar 21, 2026 at 07:26:58PM +0100, Jose A. Perez de Azpillaga wrote:
> This series cleans up the rtw_joinbss_event_prehandle function in the
> rtl8723bs staging driver.
>
> The first patch removes dead code guarded by the REJOIN macro, which is
> never defined in the kernel. This simplifies the function before the
> subsequent refactor.
>
> The second patch refactors the function using guard clauses and early
> returns to reduce deep indentation, improving overall readability.
>
> v4:
> - Removed redundant return at the end of the void function.
> - Fixed typo in v3 cover letter. ("Rmoed" -> "Removed")
> - Picked up Reviewed-by tag from Luka Gejak.

Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter