summaryrefslogtreecommitdiff
path: root/drivers/staging/wilc1000/coreconfigurator.h
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-11-01 16:45:08 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-05 15:23:01 +0100
commit846b146c5ebe1b0a2665f62cbe434d4637693c33 (patch)
tree736831d039059274c2c88b93cb3851adda7f0933 /drivers/staging/wilc1000/coreconfigurator.h
parent7a62f643c0e816fd444f0d951bb008c89bbc36cf (diff)
staging: wilc1000: remove unused code in coreconfigurator
After refactoring of wilc_parse_network_info(), some of the functions and macro are not required, so removed 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/coreconfigurator.h')
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h
index b62acb447383..0d40c77f2706 100644
--- a/drivers/staging/wilc1000/coreconfigurator.h
+++ b/drivers/staging/wilc1000/coreconfigurator.h
@@ -11,14 +11,9 @@
#define NUM_RSSI 5
-#define MAC_HDR_LEN 24
-#define FCS_LEN 4
-#define TIME_STAMP_LEN 8
-#define BEACON_INTERVAL_LEN 2
#define CAP_INFO_LEN 2
#define STATUS_CODE_LEN 2
#define AID_LEN 2
-#define IE_HDR_LEN 2
#define SET_CFG 0
#define GET_CFG 1
@@ -26,9 +21,6 @@
#define MAX_STRING_LEN 256
#define MAX_ASSOC_RESP_FRAME_SIZE MAX_STRING_LEN
-#define MAKE_WORD16(lsb, msb) ((((u16)(msb) << 8) & 0xFF00) | (lsb))
-#define MAKE_WORD32(lsw, msw) ((((u32)(msw) << 16) & 0xFFFF0000) | (lsw))
-
struct rssi_history_buffer {
bool full;
u8 index;