Re: [PATCH v3] staging: rtl8723bs: remove unused struct rtw_regulatory

From: Dan Carpenter

Date: Tue Apr 14 2026 - 04:36:41 EST


On Tue, Apr 14, 2026 at 10:13:25AM +0200, deep@xxxxxxxxxxxxxxxxxx wrote:
> From: Kenet Jovan Sokoli <deep@xxxxxxxxxxxxxxxxxx>
>
> The struct rtw_regulatory is never used in the rtl8723bs driver.
> Functions taking it as a parameter are always passed NULL and
> perform no logic with it. Remove the dead code and the struct.
>
> Suggested-by: Dan Carpenter <error27@xxxxxxxxx>
> Signed-off-by: Kenet Jovan Sokoli <deep@xxxxxxxxxxxxxxxxxx>
> ---

Thanks!

Reviewed-by: Dan Carpenter <error27@xxxxxxxxx>

regards,
dan carpenter