diff options
author | 2015-06-01 21:06:39 +0200 | |
---|---|---|
committer | 2015-06-02 13:45:22 +0900 | |
commit | b96ff76a073a4502dd2fb6298d2582823eebc0f7 (patch) | |
tree | fbf17549a0fa521083ef5af66d2ee96b95c9f95d /drivers/staging/wilc1000/wilc_sleep.c | |
parent | staging: wilc1000: simplify semaphore wrapper (diff) | |
download | linux-dev-b96ff76a073a4502dd2fb6298d2582823eebc0f7.tar.xz linux-dev-b96ff76a073a4502dd2fb6298d2582823eebc0f7.zip |
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_sleep.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_sleep.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/wilc1000/wilc_sleep.c b/drivers/staging/wilc1000/wilc_sleep.c index b8f45146956b..98a079f3d6c9 100644 --- a/drivers/staging/wilc1000/wilc_sleep.c +++ b/drivers/staging/wilc1000/wilc_sleep.c @@ -1,8 +1,6 @@ #include "wilc_oswrapper.h" -#ifdef CONFIG_WILC_SLEEP_FEATURE - /* * @author mdaftedar * @date 10 Aug 2010 @@ -18,11 +16,3 @@ void WILC_Sleep(WILC_Uint32 u32TimeMilliSec) } } -#endif - -/* #ifdef CONFIG_WILC_SLEEP_HI_RES */ -void WILC_SleepMicrosec(WILC_Uint32 u32TimeMicoSec) -{ - usleep_range(u32TimeMicoSec, u32TimeMicoSec); -} -/* #endif */ |