diff options
author | Paul E. McKenney <[email protected]> | 2013-08-22 18:16:16 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2013-09-25 06:44:03 -0700 |
commit | 7a497c963eceac42677ce1f5d7bb470abedd15f4 (patch) | |
tree | 370bd8bf6ef09ad443e8a626a0ddf2cf8d0f219f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) |
rcu: Remove redundant code from rcu_cleanup_after_idle()
The rcu_try_advance_all_cbs() function returns a bool saying whether or
not there are callbacks ready to invoke, but rcu_cleanup_after_idle()
rechecks this regardless. This commit therefore uses the value returned
by rcu_try_advance_all_cbs() instead of making rcu_cleanup_after_idle()
do this recheck.
Reported-by: Tibor Billes <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Tested-by: Tibor Billes <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions