summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorAjay Singh2018-12-02 19:03:14 +0100
committerGreg Kroah-Hartman2018-12-05 09:49:45 +0100
commitb7afe350320bde88f6d0b712205feb71b2437a31 (patch)
tree353124a11caeaf5215a9a9917266062562524f61 /drivers/staging/wilc1000/host_interface.c
parentstaging: wilc1000: handle key related cfg operation from cfg80211 context (diff)
downloadkernel-qcow2-linux-b7afe350320bde88f6d0b712205feb71b2437a31.tar.gz
kernel-qcow2-linux-b7afe350320bde88f6d0b712205feb71b2437a31.tar.xz
kernel-qcow2-linux-b7afe350320bde88f6d0b712205feb71b2437a31.zip
staging: wilc1000: delete the unused code after code refactor
After code refactor some of the macro and variables are not required any more, so deleted the unused code. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r--drivers/staging/wilc1000/host_interface.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 596a321c8d5e..71395d8a93b1 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -13,30 +13,6 @@
#define REAL_JOIN_REQ 0
-struct host_if_wpa_attr {
- u8 *key;
- const u8 *mac_addr;
- u8 *seq;
- u8 seq_len;
- u8 index;
- u8 key_len;
- u8 mode;
-};
-
-struct host_if_wep_attr {
- u8 *key;
- u8 key_len;
- u8 index;
- u8 mode;
- enum authtype auth_type;
-};
-
-union host_if_key_attr {
- struct host_if_wep_attr wep;
- struct host_if_wpa_attr wpa;
- struct host_if_pmkid_attr pmkid;
-};
-
struct scan_attr {
u8 src;
u8 type;
@@ -121,20 +97,13 @@ struct wilc_gtk_key {
u8 key[0];
} __packed;
-struct set_ip_addr {
- u8 *ip_addr;
- u8 idx;
-};
-
union message_body {
struct scan_attr scan_info;
struct connect_attr con_info;
struct rcvd_net_info net_info;
struct rcvd_async_info async_info;
- struct set_ip_addr ip_info;
struct set_multicast multicast_info;
struct get_mac_addr get_mac_info;
- struct ba_session_info session_info;
struct remain_ch remain_on_ch;
char *data;
};