From: Paul E. McKenney Date: Fri, 23 Aug 2013 01:16:16 +0000 (-0700) Subject: rcu: Remove redundant code from rcu_cleanup_after_idle() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~44^2^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a497c963eceac42677ce1f5d7bb470abedd15f4;p=pandora-kernel.git 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 Signed-off-by: Paul E. McKenney Tested-by: Tibor Billes Reviewed-by: Josh Triplett --- Reading git-diff-tree failed