From: Tony Cho Date: Mon, 21 Sep 2015 03:17:00 +0000 (+0900) Subject: staging: wilc1000: remove typedef from the struct tstrHostIFDelAllSta X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b4e644e48c391d3b0316afec6cecf870d83bafd3;p=deliverable%2Flinux.git staging: wilc1000: remove typedef from the struct tstrHostIFDelAllSta This patch removes typedef from the struct tstrHostIFDelAllSta and renames it to del_all_sta in order to comply with the Linux coding style. Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 2cc01dcb11d8..7b9de4c833fb 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -313,7 +313,7 @@ struct set_multicast { }; /*! - * @struct tstrHostIFDelAllSta + * @struct del_all_sta * @brief Deauth station message body * @details * @todo @@ -322,11 +322,10 @@ struct set_multicast { * @date 09 April 2014 * @version 1.0 Description */ - -typedef struct { +struct del_all_sta { u8 au8Sta_DelAllSta[MAX_NUM_STA][ETH_ALEN]; u8 u8Num_AssocSta; -} tstrHostIFDelAllSta; +}; /*! * @struct del_sta @@ -439,7 +438,7 @@ union message_body { struct remain_ch strHostIfRemainOnChan; struct reg_frame strHostIfRegisterFrame; char *pUserData; - tstrHostIFDelAllSta strHostIFDelAllSta; + struct del_all_sta strHostIFDelAllSta; }; /*! @@ -3636,7 +3635,8 @@ ERRORHANDLER: * @date * @version 1.0 */ -static void Handle_DelAllSta(tstrWILC_WFIDrv *drvHandler, tstrHostIFDelAllSta *pstrDelAllStaParam) +static void Handle_DelAllSta(tstrWILC_WFIDrv *drvHandler, + struct del_all_sta *pstrDelAllStaParam) { s32 s32Error = 0; @@ -7128,7 +7128,7 @@ s32 host_int_del_allstation(tstrWILC_WFIDrv *hWFIDrv, u8 pu8MacAddr[][ETH_ALEN]) s32 s32Error = 0; tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv; struct host_if_msg msg; - tstrHostIFDelAllSta *pstrDelAllStationMsg = &msg.body.strHostIFDelAllSta; + struct del_all_sta *pstrDelAllStationMsg = &msg.body.strHostIFDelAllSta; u8 au8Zero_Buff[ETH_ALEN] = {0}; u32 i; u8 u8AssocNumb = 0;