staging: rtl8723bs: include: remove typedef for struct pno_ssid
authorHimadri Pandya <himadri18.07@gmail.com>
Thu, 21 Mar 2019 18:14:02 +0000 (23:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Mar 2019 19:11:36 +0000 (20:11 +0100)
Remove typedef for struct pno_ssid as The Linux kernel coding style
guidelines discourage the use of typedefs for struct types.

Signed-off-by: Himadri Pandya <himadri18.07@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_pwrctrl.h

index df85267..ba79a98 100644 (file)
@@ -170,13 +170,13 @@ struct pno_nlo_info
        u8 ssid_channel_info[MAX_PNO_LIST_COUNT];       /* channel information */
 };
 
-typedef struct pno_ssid {
+struct pno_ssid {
        u32     SSID_len;
        u8 SSID[32];
-} pno_ssid_t;
+};
 
 typedef struct pno_ssid_list {
-       pno_ssid_t      node[MAX_PNO_LIST_COUNT];
+       struct pno_ssid node[MAX_PNO_LIST_COUNT];
 }pno_ssid_list_t;
 
 typedef struct pno_scan_channel_info