From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eusmtp01.atmel.com ([212.144.249.243]:12795 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751778AbbJLH6c (ORCPT ); Mon, 12 Oct 2015 03:58:32 -0400 From: Tony Cho To: CC: , , , , , , , , , , , Subject: [PATCH V2 18/41] staging: wilc1000: remove typedef from tstrWILC_UsrConnReq Date: Mon, 12 Oct 2015 16:55:52 +0900 Message-ID: <1444636575-2486-18-git-send-email-tony.cho@atmel.com> (sfid-20151012_095835_081625_8AFFC743) In-Reply-To: <1444636575-2486-1-git-send-email-tony.cho@atmel.com> References: <1444636575-2486-1-git-send-email-tony.cho@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Leo Kim This patch removes typedef from the struct tstrWILC_UsrConnReq with the related comments and renames it to user_conn_req. Signed-off-by: Leo Kim Signed-off-by: Tony Cho --- 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 b718598..9cf1e99 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -236,7 +236,7 @@ struct user_scan_req { tstrFoundNetworkInfo astrFoundNetworkInfo[MAX_NUM_SCANNED_NETWORKS]; }; -typedef struct { +struct user_conn_req { u8 *pu8bssid; u8 *pu8ssid; u8 u8security; @@ -249,7 +249,7 @@ typedef struct { bool IsHTCapable; /* User specific parameter to be delivered through the Connect User Callback function */ void *u32UserConnectPvoid; -} tstrWILC_UsrConnReq; +}; struct drv_handler { u32 u32Address; @@ -305,9 +305,7 @@ enum p2p_listen_state { struct host_if_drv { struct user_scan_req strWILC_UsrScanReq; - - /* Connect User structure */ - tstrWILC_UsrConnReq strWILC_UsrConnReq; + struct user_conn_req strWILC_UsrConnReq; /*Remain on channel struvture*/ struct remain_ch strHostIfRemainOnChan; -- 1.9.1