diff options
author | Marco Cesati <marcocesati@gmail.com> | 2021-03-12 09:26:30 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-12 17:25:41 +0100 |
commit | 41ec878176044c5c5c60b9cbd05ab033f8e24a32 (patch) | |
tree | 2a2d7b9a8967dab3e3a20b2d9376a676402da4dd | |
parent | 16f84d63f1f7c2a08592e1ca87419aed31c16064 (diff) |
staging: rtl8723bs: remove typedefs in sta_info.h
This commit fixes the following checkpatch.pl warning:
WARNING: do not add new typedefs
#34: FILE: include/sta_info.h:34:
+typedef struct _RSSI_STA {
Signed-off-by: Marco Cesati <marco.cesati@gmail.com>
Link: https://lore.kernel.org/r/20210312082638.25512-26-marco.cesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8723bs/include/sta_info.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/include/sta_info.h b/drivers/staging/rtl8723bs/include/sta_info.h index 734f4e2ecd66..1dbbe6cbf174 100644 --- a/drivers/staging/rtl8723bs/include/sta_info.h +++ b/drivers/staging/rtl8723bs/include/sta_info.h @@ -31,13 +31,13 @@ struct wlan_acl_pool { struct __queue acl_node_q; }; -typedef struct _RSSI_STA { +struct RSSI_STA { s32 UndecoratedSmoothedPWDB; s32 UndecoratedSmoothedCCK; s32 UndecoratedSmoothedOFDM; u64 PacketMap; u8 ValidBit; -} RSSI_STA, *PRSSI_STA; +}; struct stainfo_stats { @@ -196,7 +196,7 @@ struct sta_info { u32 assoc_req_len; /* for DM */ - RSSI_STA rssi_stat; + struct RSSI_STA rssi_stat; /* ODM_STA_INFO_T */ /* ================ODM Relative Info ======================= */ |