mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
softirq: Eliminate unused cond_resched_softirq() macro
The cond_resched_softirq() macro is not used anywhere in mainline, so this commit simplifies the kernel by eliminating it. Suggested-by: Eric Dumazet <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Cc: Ingo Molnar <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Tested-by: Nicholas Piggin <[email protected]>
This commit is contained in:
parent
cee4393989
commit
c3442697c2
3 changed files with 1 additions and 24 deletions
|
|
@ -145,8 +145,7 @@ static void __local_bh_enable(unsigned int cnt)
|
|||
}
|
||||
|
||||
/*
|
||||
* Special-case - softirqs can safely be enabled in
|
||||
* cond_resched_softirq(), or by __do_softirq(),
|
||||
* Special-case - softirqs can safely be enabled by __do_softirq(),
|
||||
* without processing still-pending softirqs:
|
||||
*/
|
||||
void _local_bh_enable(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue