summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-11-01 19:45:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-05 17:23:01 +0300
commitd6a75ad44f08820148cde04c370a77caa509ad69 (patch)
tree211060d64fe70ca0d86ac98506da252af4d111a6
parentbfaf36a4082a89c53d7632af264656ba2fbb2be9 (diff)
downloadlinux-d6a75ad44f08820148cde04c370a77caa509ad69.tar.xz
staging: wilc1000: remove unnecessary MAX_STRING_LEN macro
Cleanup patch to remove the use of unnecessary 'MAX_STRING_LEN' macro. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h
index 71a9f27d4b8f..a1347f77855e 100644
--- a/drivers/staging/wilc1000/coreconfigurator.h
+++ b/drivers/staging/wilc1000/coreconfigurator.h
@@ -14,8 +14,7 @@
#define SET_CFG 0
#define GET_CFG 1
-#define MAX_STRING_LEN 256
-#define MAX_ASSOC_RESP_FRAME_SIZE MAX_STRING_LEN
+#define MAX_ASSOC_RESP_FRAME_SIZE 256
struct rssi_history_buffer {
bool full;