| commit | 2c9ff0aa13042d09044e6a80f44089bdcc5fd104 | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Aug 22 18:16:16 2013 -0700 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Aug 22 18:16:16 2013 -0700 |
| tree | f637d341a3efe0abea85763544692fbd2a557c5f | |
| parent | be99e690d6e884445dfc3e6ea29ccf5458babe10 [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. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>