diff --git a/modules/spl/spl-thread.c b/modules/spl/spl-thread.c index 62d2fa329..953c5ce7f 100644 --- a/modules/spl/spl-thread.c +++ b/modules/spl/spl-thread.c @@ -87,7 +87,6 @@ __thread_create(caddr_t stk, size_t stksize, thread_func_t func, int state, pri_t pri) { thread_priv_t *tp; - DEFINE_WAIT(wait); struct task_struct *tsk; char *p; ENTRY; diff --git a/modules/splat/splat-thread.c b/modules/splat/splat-thread.c index 330c3ae10..ca6c46ac3 100644 --- a/modules/splat/splat-thread.c +++ b/modules/splat/splat-thread.c @@ -78,7 +78,6 @@ static int splat_thread_test1(struct file *file, void *arg) { thread_priv_t tp; - DEFINE_WAIT(wait); kthread_t *thr; tp.tp_magic = SPLAT_THREAD_TEST_MAGIC; @@ -128,7 +127,6 @@ static int splat_thread_test2(struct file *file, void *arg) { thread_priv_t tp; - DEFINE_WAIT(wait); kthread_t *thr; int rc = 0;