]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
sched: Remove set_need_resched()
authorPeter Zijlstra <peterz@infradead.org>
Tue, 8 Apr 2014 12:27:25 +0000 (14:27 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Apr 2014 10:07:31 +0000 (12:07 +0200)
The last user is gone now, so we can safely remove this function.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <bitbucket@online.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/thread_info.h

index fddbe2023a5d568717b3b90eabc692bb4612f9bd..cb0cec94fda3330c63bf233b380bbe9ee81fe2b6 100644 (file)
@@ -104,20 +104,6 @@ static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
 #define test_thread_flag(flag) \
        test_ti_thread_flag(current_thread_info(), flag)
 
-static inline __deprecated void set_need_resched(void)
-{
-       /*
-        * Use of this function in deprecated.
-        *
-        * As of this writing there are only a few users in the DRM tree left
-        * all of which are wrong and can be removed without causing too much
-        * grief.
-        *
-        * The DRM people are aware and are working on removing the last few
-        * instances.
-        */
-}
-
 #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
 
 #if defined TIF_RESTORE_SIGMASK && !defined HAVE_SET_RESTORE_SIGMASK