lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <1403425202-11942-16-git-send-email-navin.patidar@gmail.com> Date: Sun, 22 Jun 2014 13:49:35 +0530 From: navin patidar <navin.patidar@...il.com> To: gregkh@...uxfoundation.org Cc: Larry.Finger@...inger.net, devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org, navin patidar <navin.patidar@...il.com> Subject: [PATCH 15/42] staging: rtl8188eu: Remove unused function rtw_sleep_schedulable() Signed-off-by: navin patidar <navin.patidar@...il.com> --- drivers/staging/rtl8188eu/include/osdep_service.h | 1 - drivers/staging/rtl8188eu/os_dep/osdep_service.c | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h b/drivers/staging/rtl8188eu/include/osdep_service.h index 23b75fc..7a0afab 100644 --- a/drivers/staging/rtl8188eu/include/osdep_service.h +++ b/drivers/staging/rtl8188eu/include/osdep_service.h @@ -211,7 +211,6 @@ u32 rtw_ms_to_systime(u32 ms); s32 rtw_get_passing_time_ms(u32 start); s32 rtw_get_time_interval_ms(u32 start, u32 end); -void rtw_sleep_schedulable(int ms); u32 rtw_atoi(u8 *s); diff --git a/drivers/staging/rtl8188eu/os_dep/osdep_service.c b/drivers/staging/rtl8188eu/os_dep/osdep_service.c index 1ef9c49..f43ace2 100644 --- a/drivers/staging/rtl8188eu/os_dep/osdep_service.c +++ b/drivers/staging/rtl8188eu/os_dep/osdep_service.c @@ -129,18 +129,6 @@ inline s32 rtw_get_time_interval_ms(u32 start, u32 end) return rtw_systime_to_ms(end-start); } -void rtw_sleep_schedulable(int ms) -{ - u32 delta; - - delta = (ms * HZ)/1000;/* ms) */ - if (delta == 0) - delta = 1;/* 1 ms */ - set_current_state(TASK_INTERRUPTIBLE); - if (schedule_timeout(delta) != 0) - return; -} - #define RTW_SUSPEND_LOCK_NAME "rtw_wifi" struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists