staging: rtl8723bs: include: remove typedef for struct pno_ssid_list
authorHimadri Pandya <himadri18.07@gmail.com>
Thu, 21 Mar 2019 18:14:03 +0000 (23:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Mar 2019 19:11:36 +0000 (20:11 +0100)
Remove typedef from struct pno_ssid_list 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 ba79a98fdc674cb933998f16668ba0279989bbbb..8912182e229ff5973d90e8e168bc5b8d4e252a33 100644 (file)
@@ -175,9 +175,9 @@ struct pno_ssid {
        u8 SSID[32];
 };
 
-typedef struct pno_ssid_list {
+struct pno_ssid_list {
        struct pno_ssid node[MAX_PNO_LIST_COUNT];
-}pno_ssid_list_t;
+};
 
 typedef struct pno_scan_channel_info
 {
@@ -281,7 +281,7 @@ struct pwrctrl_priv
        u8 pno_inited;
        struct pno_nlo_info *pnlo_info;
        pno_scan_info_t *pscan_info;
-       pno_ssid_list_t *pno_ssid_list;
+       struct pno_ssid_list *pno_ssid_list;
 #endif
        u32     wowlan_pattern_context[8][5];
        u64             wowlan_fw_iv;