staging: rtl8723bs: remove typedefs in sta_info.h
authorMarco Cesati <marcocesati@gmail.com>
Fri, 12 Mar 2021 08:26:30 +0000 (09:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Mar 2021 16:25:41 +0000 (17:25 +0100)
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>
drivers/staging/rtl8723bs/include/sta_info.h

index 734f4e2..1dbbe6c 100644 (file)
@@ -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 ======================= */