Re: [PATCH] staging: rtl8723bs: cleanup rtw_io.c

From: Greg KH

Date: Mon Feb 23 2026 - 09:29:43 EST


On Sat, Feb 21, 2026 at 02:56:13PM +0100, Wojciech wrote:
> Replace tabs with a space in return statements and declarations.
> Remove dead code and redundant vendor comments.
> No functional changes.
>
> Signed-off-by: Wojciech S. <wojciech.develop@xxxxxxxxx>
> ---
> drivers/staging/rtl8723bs/core/rtw_io.c | 49 ++++---------------------
> 1 file changed, 7 insertions(+), 42 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c
> b/drivers/staging/rtl8723bs/core/rtw_io.c
> index 965c3cfea103..4b36a39946f1 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_io.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_io.c
> @@ -1,35 +1,11 @@
> // SPDX-License-Identifier: GPL-2.0
> -/******************************************************************************
> - *
> - * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
> - *
> - ******************************************************************************/
> -/*
> - * The purpose of rtw_io.c
> - *
> - * a. provides the API
> - *
> - * b. provides the protocol engine
> - *
> - * c. provides the software interface between caller and the hardware interface
> - *
> - *
> - * Compiler Flag Option:
> - *
> - * 1. CONFIG_SDIO_HCI:
> - * a. USE_SYNC_IRP: Only sync operations are provided.
> - * b. USE_ASYNC_IRP:Both sync/async operations are provided.
> - *
> - * jackson@xxxxxxxxxxxxxx
> - */
>
> #include <drv_types.h>
>
> u8 rtw_read8(struct adapter *adapter, u32 addr)
> {
> - /* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */
> struct io_priv *pio_priv = &adapter->iopriv;
> - struct intf_hdl *pintfhdl = &pio_priv->intf;
> + struct intf_hdl *pintfhdl = &pio_priv->intf;
> u8 (*_read8)(struct intf_hdl *pintfhdl, u32 addr);
>

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- Your patch is malformed (tabs converted to spaces, linewrapped, etc.)
and can not be applied. Please read the file,
Documentation/process/email-clients.rst in order to fix this.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot