diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-03-05 20:29:40 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-15 19:27:35 +0200 |
commit | c3442697c2d73d3cdb9d4135cf630ad36ba8552f (patch) | |
tree | cc3a55e788483920839bd14a2f4fd670e1524d14 /kernel/softirq.c | |
parent | rcu: Rename cond_resched_rcu_qs() to cond_resched_tasks_rcu_qs() (diff) | |
download | linux-c3442697c2d73d3cdb9d4135cf630ad36ba8552f.tar.xz linux-c3442697c2d73d3cdb9d4135cf630ad36ba8552f.zip |
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 <edumazet@google.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Tested-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r-- | kernel/softirq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 177de3640c78..03981f1c39ea 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -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) |