diff options
author | Himadri Pandya <himadri18.07@gmail.com> | 2019-03-21 23:44:02 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-21 20:11:36 +0100 |
commit | 8b4e7034fd30046f8bff84502c345bd6095fe124 (patch) | |
tree | 2979c57f07336ef5c1bf387408d44d5c8d834ce9 | |
parent | 319aa7e516da8c90278b364d1d05d8f18d967a94 (diff) |
staging: rtl8723bs: include: remove typedef for struct pno_ssid
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>
-rw-r--r-- | drivers/staging/rtl8723bs/include/rtw_pwrctrl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h index df85267363b8..ba79a98fdc67 100644 --- a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h +++ b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h @@ -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 |