Commit 5ba1b07a authored by Vladimir A. Nazarenko's avatar Vladimir A. Nazarenko Committed by Greg Kroah-Hartman

staging: vt6655: remove global variable wpa_Result

This variable unused, so remove it.
Signed-off-by: default avatarVladimir A. Nazarenko <naszar@ya.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5e8dc1cb
...@@ -1553,9 +1553,6 @@ static int device_open(struct net_device *dev) ...@@ -1553,9 +1553,6 @@ static int device_open(struct net_device *dev)
{ {
struct vnt_private *pDevice = netdev_priv(dev); struct vnt_private *pDevice = netdev_priv(dev);
int i; int i;
#ifdef WPA_SM_Transtatus
extern SWPAResult wpa_Result;
#endif
pDevice->rx_buf_sz = PKT_BUF_SZ; pDevice->rx_buf_sz = PKT_BUF_SZ;
if (!device_init_rings(pDevice)) if (!device_init_rings(pDevice))
...@@ -1567,11 +1564,6 @@ static int device_open(struct net_device *dev) ...@@ -1567,11 +1564,6 @@ static int device_open(struct net_device *dev)
return i; return i;
#ifdef WPA_SM_Transtatus #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; pDevice->fWPA_Authened = false;
#endif #endif
pr_debug("call device init rd0 ring\n"); pr_debug("call device init rd0 ring\n");
......
...@@ -38,10 +38,6 @@ ...@@ -38,10 +38,6 @@
#include "wpactl.h" #include "wpactl.h"
#include "rf.h" #include "rf.h"
#ifdef WPA_SM_Transtatus
SWPAResult wpa_Result;
#endif
int private_ioctl(struct vnt_private *pDevice, struct ifreq *rq) int private_ioctl(struct vnt_private *pDevice, struct ifreq *rq)
{ {
PSCmdRequest pReq = (PSCmdRequest)rq; PSCmdRequest pReq = (PSCmdRequest)rq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment