staging: wilc1000: remove unused variable gu32WidConnRstHack
authorLeo Kim <leo.kim@atmel.com>
Thu, 15 Oct 2015 04:25:08 +0000 (13:25 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 04:49:54 +0000 (21:49 -0700)
This patch removes unused the variable gu32WidConnRstHack.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index a2a865fc1278f36b63df2e8cffd79b0b14a79253..38fe63256e54bdeec6c90a013cfbd868dc1be93d 100644 (file)
@@ -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);