aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_oswrapper.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-06-01 21:06:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-02 13:45:22 +0900
commit042f19c9359400f6d31e568416aa484a94513346 (patch)
treed21b609201eeb09955d347ba9a291678ec0415ba /drivers/staging/wilc1000/wilc_oswrapper.h
parentstaging: wilc1000: clean up sleep wrapper (diff)
downloadlinux-dev-042f19c9359400f6d31e568416aa484a94513346.tar.xz
linux-dev-042f19c9359400f6d31e568416aa484a94513346.zip
staging: wilc1000: clean up timer feature
The driver has a simple wrapper around timer_list, and an optional but unused feature to make the timer periodic. This removes support for the periodic timer and simplifies the code around timers. A follow-up should replace the remaining wrapper with open-coded timers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_oswrapper.h')
-rw-r--r--drivers/staging/wilc1000/wilc_oswrapper.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_oswrapper.h b/drivers/staging/wilc1000/wilc_oswrapper.h
index 2af32fff84aa..be6393cba8c2 100644
--- a/drivers/staging/wilc1000/wilc_oswrapper.h
+++ b/drivers/staging/wilc1000/wilc_oswrapper.h
@@ -61,9 +61,7 @@ typedef WILC_Uint16 WILC_WideChar;
#include "wilc_sleep.h"
/* Timer support */
-#ifdef CONFIG_WILC_TIMER_FEATURE
#include "wilc_timer.h"
-#endif
/* Memory support */
#include "wilc_memory.h"