From 5673904df7d5dd00df35988fd6fda922b4000398 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Fri, 21 Mar 2003 11:02:16 +0000 Subject: - more portability changes, move ddelay() into compat.h - introduce kernel_thread_setup() function to encapsulate linux process model related stuff --- linux/drivers/media/dvb/ttpci/budget-core.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'linux/drivers/media/dvb/ttpci/budget-core.c') diff --git a/linux/drivers/media/dvb/ttpci/budget-core.c b/linux/drivers/media/dvb/ttpci/budget-core.c index 71cbcfffd..bdf81a82e 100644 --- a/linux/drivers/media/dvb/ttpci/budget-core.c +++ b/linux/drivers/media/dvb/ttpci/budget-core.c @@ -1,20 +1,7 @@ #include "budget.h" -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51) - #define KBUILD_MODNAME budget -#endif int budget_debug = 0; -/**************************************************************************** - * General helper functions - ****************************************************************************/ - -static inline void ddelay(int i) -{ - current->state=TASK_INTERRUPTIBLE; - schedule_timeout((HZ*i)/100); -} - /**************************************************************************** * TT budget / WinTV Nova ****************************************************************************/ -- cgit v1.2.3