summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_oswrapper.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-06-01 21:06:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-02 13:45:22 +0900
commitb96ff76a073a4502dd2fb6298d2582823eebc0f7 (patch)
treefbf17549a0fa521083ef5af66d2ee96b95c9f95d /drivers/staging/wilc1000/wilc_oswrapper.h
parent5f928b956760bc34ff314e9c8962066c230a05b9 (diff)
downloadop-kernel-dev-b96ff76a073a4502dd2fb6298d2582823eebc0f7.zip
op-kernel-dev-b96ff76a073a4502dd2fb6298d2582823eebc0f7.tar.gz
staging: wilc1000: clean up sleep wrapper
The driver has a simple wrapper around msleep, as well as a more advanced sleep function that is unused. This removes the unused code and the options to turn the feature on or off. A follow-up should rework the code to use msleep directly. 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 32fe48a..2af32ff 100644
--- a/drivers/staging/wilc1000/wilc_oswrapper.h
+++ b/drivers/staging/wilc1000/wilc_oswrapper.h
@@ -58,9 +58,7 @@ typedef WILC_Uint16 WILC_WideChar;
#include "wilc_semaphore.h"
/* Sleep support */
-#ifdef CONFIG_WILC_SLEEP_FEATURE
#include "wilc_sleep.h"
-#endif
/* Timer support */
#ifdef CONFIG_WILC_TIMER_FEATURE
OpenPOWER on IntegriCloud