| commit | a9b74b7ec18d2a081244d2b7efd5ee424ce935b2 | [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 29 17:44:56 2013 -0700 |
| tree | 033d7e181ef0a40106f7d31cb249547c76e1323c | |
| parent | 3592bcfe9bfbc83217166d3dc0bf14e3ce6acbbb [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>