staging: wilc1000: remove unnecessary MAX_STRING_LEN macro
authorAjay Singh <ajay.kathat@microchip.com>
Thu, 1 Nov 2018 16:45:20 +0000 (16:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2018 14:23:01 +0000 (15:23 +0100)
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>
drivers/staging/wilc1000/coreconfigurator.h

index 71a9f27d4b8f5c7d9809318574b0164167ce7428..a1347f77855e37365d54df9972dc4addc05c9786 100644 (file)
@@ -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;