staging: wilc1000: remove AGING_ALG
authorTony Cho <tony.cho@atmel.com>
Wed, 30 Sep 2015 09:44:19 +0000 (18:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:55:59 +0000 (11:55 +0200)
This patch removes AGING_ALG from the Makefile because it is always in
use.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/Makefile
drivers/staging/wilc1000/coreconfigurator.h

index d226ebea308d3c208eff24eddf2bf0c628a58f42..f4950619c17ff86638d3fac1da359b26ff54935f 100644 (file)
@@ -9,7 +9,6 @@ ccflags-y += -DSTA_FIRMWARE=\"atmel/wilc1000_fw.bin\" \
                -DP2P_CONCURRENCY_FIRMWARE=\"atmel/wilc1000_p2p_fw.bin\"
 
 ccflags-y += -I$(src)/ -D__CHECK_ENDIAN__ -DWILC_ASIC_A0 \
-               -DAGING_ALG \
                -Wno-unused-function -DWILC_DEBUGFS
 #ccflags-y += -DTCP_ACK_FILTER
 
index 253c7f0c516b5664cb4d70306375fe0af869b728..58aa13cd954ecea19b6a59cdae2aa80181c8b26f 100644 (file)
@@ -96,9 +96,7 @@ typedef struct {
        unsigned long u32TimeRcvdInScanCached;
        unsigned long u32TimeRcvdInScan;
        bool bNewNetwork;
-#ifdef AGING_ALG
        u8 u8Found;
-#endif
        u32 u32Tsf;
        u8 *pu8IEs;
        u16 u16IEsLen;