Skip to content

Commit

Permalink
staging: rtl8188eu: Remove unused function rtw_sleep_schedulable()
Browse files Browse the repository at this point in the history
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
navin patidar authored and Greg Kroah-Hartman committed Jun 27, 2014
1 parent aa3f5cc commit fb46424
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion drivers/staging/rtl8188eu/include/osdep_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
12 changes: 0 additions & 12 deletions drivers/staging/rtl8188eu/os_dep/osdep_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fb46424

Please sign in to comment.