From cc746197159b18c45e7921de105ef076a19e05f6 Mon Sep 17 00:00:00 2001 From: Himadri Pandya Date: Thu, 21 Mar 2019 23:44:03 +0530 Subject: [PATCH] staging: rtl8723bs: include: remove typedef for struct pno_ssid_list 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 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 ba79a98fdc67..8912182e229f 100644 --- a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h +++ b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h @@ -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; -- 2.30.2