Re: [PATCH] staging: rtl8723bs: Fix block comment coding style
From: Dan Carpenter
Date: Mon Dec 15 2025 - 01:04:12 EST
On Mon, Dec 15, 2025 at 12:01:28PM +0800, Zixuan Dong wrote:
> Fix the following checkpatch warnings in os_intfs.c:
>
> WARNING: Block comments use * on subsequent lines
> WARNING: Block comments use a trailing */ on a separate line
>
> Signed-off-by: Zixuan Dong <dbeidachazi@xxxxxxxxxxx>
> ---
> drivers/staging/rtl8723bs/os_dep/os_intfs.c | 18 ++++++++++--------
> 1 file changed, 10 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
> index 6ca6dc548805..cd81d9e4a3d2 100644
> --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
> +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
> @@ -934,14 +934,16 @@ static int netdev_close(struct net_device *pnetdev)
> padapter->net_closed = true;
> padapter->netif_up = false;
>
> -/*if (!padapter->hw_init_completed)
> - {
> -
> - padapter->bDriverStopped = true;
> -
> - rtw_dev_unload(padapter);
> - }
> - else*/
> +/*
> + * if (!padapter->hw_init_completed)
> + * {
> + *
> + * padapter->bDriverStopped = true;
> + *
> + * rtw_dev_unload(padapter);
> + * }
> + * else
> + */
Just delete this dead code.
regards,
dan carpenter