summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir A. Nazarenko <naszar@ya.ru>2014-10-09 15:38:23 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-20 10:30:13 +0800
commit5ba1b07a6eae38886b7e27d662da2786d0613386 (patch)
tree8ade3b884016584578aa7476f0a1e7e08ec30ffd
parent5e8dc1cbf7bf18306221ec3fea57be0683107b7a (diff)
staging: vt6655: remove global variable wpa_Result
This variable unused, so remove it. Signed-off-by: Vladimir A. Nazarenko <naszar@ya.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/vt6655/device_main.c8
-rw-r--r--drivers/staging/vt6655/ioctl.c4
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index ed5e7123700..ff8bd7a5db8 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -1553,9 +1553,6 @@ static int device_open(struct net_device *dev)
{
struct vnt_private *pDevice = netdev_priv(dev);
int i;
-#ifdef WPA_SM_Transtatus
- extern SWPAResult wpa_Result;
-#endif
pDevice->rx_buf_sz = PKT_BUF_SZ;
if (!device_init_rings(pDevice))
@@ -1567,11 +1564,6 @@ static int device_open(struct net_device *dev)
return i;
#ifdef WPA_SM_Transtatus
- memset(wpa_Result.ifname, 0, sizeof(wpa_Result.ifname));
- wpa_Result.proto = 0;
- wpa_Result.key_mgmt = 0;
- wpa_Result.eap_type = 0;
- wpa_Result.authenticated = false;
pDevice->fWPA_Authened = false;
#endif
pr_debug("call device init rd0 ring\n");
diff --git a/drivers/staging/vt6655/ioctl.c b/drivers/staging/vt6655/ioctl.c
index f8e990fcc6f..628f5b2359c 100644
--- a/drivers/staging/vt6655/ioctl.c
+++ b/drivers/staging/vt6655/ioctl.c
@@ -38,10 +38,6 @@
#include "wpactl.h"
#include "rf.h"
-#ifdef WPA_SM_Transtatus
-SWPAResult wpa_Result;
-#endif
-
int private_ioctl(struct vnt_private *pDevice, struct ifreq *rq)
{
PSCmdRequest pReq = (PSCmdRequest)rq;