From fb7d4122fc97be364cf2ce76380b0e5465aba7eb Mon Sep 17 00:00:00 2001 From: qiuyiuestc Date: Thu, 28 Oct 2010 01:21:47 +0000 Subject: implement module memory allocator git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1030 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/thread.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/thread.c') diff --git a/src/thread.c b/src/thread.c index 536189070e..05eb403b56 100644 --- a/src/thread.c +++ b/src/thread.c @@ -19,7 +19,6 @@ * 2006-09-03 Bernard implement rt_thread_detach * 2008-02-16 Bernard fix the rt_thread_timeout bug * 2010-03-21 Bernard change the errno of rt_thread_delay/sleep to RT_EOK. - * 2010-04-11 Yi.Qiu add module feature */ #include @@ -73,13 +72,6 @@ static rt_err_t _rt_thread_init(struct rt_thread* thread, /* error and flags */ thread->error = RT_EOK; thread->stat = RT_THREAD_INIT; - thread->flags = 0; - -#ifdef RT_USING_MODULE - /* init module parent */ - thread->module_parent = - (rt_module_self() != RT_NULL) ? rt_module_self() : RT_NULL; -#endif /* init user data */ thread->user_data = 0; -- cgit v1.3.1