Staging: rtl8723bs: rtw_ieee80211: Remove extra space

Message ID 20240115075425.108134-1-meir6264@Gmail.com
State New
Headers
Series Staging: rtl8723bs: rtw_ieee80211: Remove extra space |

Commit Message

meir elisha Jan. 15, 2024, 7:54 a.m. UTC
  Fix checkpatch warning: please, no space before tabs

Signed-off-by: Meir Elisha <meir6264@Gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Dan Carpenter Jan. 15, 2024, 8:01 a.m. UTC | #1
On Mon, Jan 15, 2024 at 09:54:25AM +0200, Meir Elisha wrote:
> Fix checkpatch warning: please, no space before tabs
> 
> Signed-off-by: Meir Elisha <meir6264@Gmail.com>
> ---
>  drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
> index 30e7457a9c31..cfa994835008 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
> @@ -1036,7 +1036,7 @@ void rtw_get_bcn_info(struct wlan_network *pnetwork)
>  	struct HT_info_element *pht_info = NULL;
>  	struct ieee80211_ht_cap *pht_cap = NULL;
>  	unsigned int		len;
                    ^^^^^^^^^^^
How about we delete these as well.

> -	unsigned char 	*p;
> +	unsigned char *p;
>  	__le16 le_cap;

regards,
dan carpenter
  
meir elisha Jan. 15, 2024, 8:26 a.m. UTC | #2
Sure. Thanks for your reply! sending v2 patch.

‫בתאריך יום ב׳, 15 בינו׳ 2024 ב-10:01 מאת ‪Dan Carpenter‬‏
<‪dan.carpenter@linaro.org‬‏>:‬
>
> On Mon, Jan 15, 2024 at 09:54:25AM +0200, Meir Elisha wrote:
> > Fix checkpatch warning: please, no space before tabs
> >
> > Signed-off-by: Meir Elisha <meir6264@Gmail.com>
> > ---
> >  drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
> > index 30e7457a9c31..cfa994835008 100644
> > --- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
> > +++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
> > @@ -1036,7 +1036,7 @@ void rtw_get_bcn_info(struct wlan_network *pnetwork)
> >       struct HT_info_element *pht_info = NULL;
> >       struct ieee80211_ht_cap *pht_cap = NULL;
> >       unsigned int            len;
>                     ^^^^^^^^^^^
> How about we delete these as well.
>
> > -     unsigned char   *p;
> > +     unsigned char *p;
> >       __le16 le_cap;
>
> regards,
> dan carpenter
>
  

Patch

diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
index 30e7457a9c31..cfa994835008 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c
@@ -1036,7 +1036,7 @@  void rtw_get_bcn_info(struct wlan_network *pnetwork)
 	struct HT_info_element *pht_info = NULL;
 	struct ieee80211_ht_cap *pht_cap = NULL;
 	unsigned int		len;
-	unsigned char 	*p;
+	unsigned char *p;
 	__le16 le_cap;
 
 	memcpy((u8 *)&le_cap, rtw_get_capability_from_ie(pnetwork->network.ies), 2);