From: Leo Kim Date: Thu, 15 Oct 2015 04:25:08 +0000 (+0900) Subject: staging: wilc1000: remove unused variable gu32WidConnRstHack X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7a9adb051cd182d25ba050de8ff99fad83efda7e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: wilc1000: remove unused variable gu32WidConnRstHack This patch removes unused the variable gu32WidConnRstHack. Signed-off-by: Leo Kim 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 a2a865fc1278..38fe63256e54 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -254,7 +254,6 @@ static u8 set_ip[2][4]; static u8 get_ip[2][4]; static u32 inactive_time; static u8 del_beacon; -static u32 gu32WidConnRstHack; u8 *gu8FlushedJoinReq; u8 *gu8FlushedInfoElemAsoc; @@ -1198,7 +1197,6 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv, pu8CurrByte = strWIDList[u32WidsCount].val; u32WidsCount++; - gu32WidConnRstHack = 0; if (memcmp("DIRECT-", pstrHostIFconnectAttr->ssid, 7)) { memcpy(gu8FlushedJoinReq, pu8CurrByte, gu32FlushedJoinReqSize);