From 8b4e7034fd30046f8bff84502c345bd6095fe124 Mon Sep 17 00:00:00 2001 From: Himadri Pandya Date: Thu, 21 Mar 2019 23:44:02 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723bs/include/rtw_pwrctrl.h | 6 +++--- 1 file 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