summaryrefslogtreecommitdiff
path: root/net/caif/cfdgml.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-12-10 16:25:20 -0800
committerPaul E. McKenney <paulmck@kernel.org>2022-02-08 10:12:28 -0800
commit0cabb47af3cfaeb6007ba3868379bbd4daee64cc (patch)
treedac582dd53d5dc618eb2d00d742c4c0222a7f05a /net/caif/cfdgml.c
parent82980b1622d97017053c6792382469d7dc26a486 (diff)
downloadlinux-0cabb47af3cfaeb6007ba3868379bbd4daee64cc.tar.gz
linux-0cabb47af3cfaeb6007ba3868379bbd4daee64cc.tar.bz2
linux-0cabb47af3cfaeb6007ba3868379bbd4daee64cc.zip
rcu: Refactor rcu_barrier() empty-list handling
This commit saves a few lines by checking first for an empty callback list. If the callback list is empty, then that CPU is taken care of, regardless of its online or nocb state. Also simplify tracing accordingly and fold a few lines together. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'net/caif/cfdgml.c')
0 files changed, 0 insertions, 0 deletions