summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/osdep_service.h
diff options
context:
space:
mode:
authorJames A Shackleford <shack@linux.com>2014-07-09 15:26:23 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 21:17:50 -0700
commitfee51243ee16e824742698903773f26e1ea48df1 (patch)
tree0e2261c1dc1069f0ada1cd427477fcf9a515f9a8 /drivers/staging/rtl8712/osdep_service.h
parent7ba58220ee2d305de89d725c19de351898f8ed06 (diff)
staging: rtl8712: remove wrapper function thread_enter()
The inline function thread_enter() accepts a single ignored parameter and is just a wrapper for allow_signal(SIGTERM). Removed. Signed-off-by: James A Shackleford <shack@linux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/osdep_service.h')
-rw-r--r--drivers/staging/rtl8712/osdep_service.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h
index c80f00683b0f..d7a357b8d2d1 100644
--- a/drivers/staging/rtl8712/osdep_service.h
+++ b/drivers/staging/rtl8712/osdep_service.h
@@ -118,11 +118,6 @@ static inline unsigned char _cancel_timer_ex(struct timer_list *ptimer)
return del_timer(ptimer);
}
-static inline void thread_enter(void *context)
-{
- allow_signal(SIGTERM);
-}
-
static inline void flush_signals_thread(void)
{
if (signal_pending(current))