From ad61fcea233c09884ebe07762e99536bb54e27e8 Mon Sep 17 00:00:00 2001 From: Leo Kim Date: Mon, 12 Oct 2015 16:55:55 +0900 Subject: [PATCH] staging: wilc1000: remove typedef from tstrHiddenNetworkInfo This patch removes typedef from the struct tstrHiddenNetworkInfo with related comments and renames it to hidden_net_info. Signed-off-by: Leo Kim Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/host_interface.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index 0f5fcca636dd..cfe2ceddb0e9 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -212,15 +212,13 @@ struct rcvd_net_info { u32 u32Length; }; -typedef struct _tstrHiddenNetworkInfo { +struct hidden_net_info { u8 *pu8ssid; u8 u8ssidlen; - -} tstrHiddenNetworkInfo; +}; struct hidden_network { - /* MAX_SSID_LEN */ - tstrHiddenNetworkInfo *pstrHiddenNetworkInfo; + struct hidden_net_info *pstrHiddenNetworkInfo; u8 u8ssidnum; };