diff options
| author | Akira Yokosawa <akiyks@gmail.com> | 2019-03-02 11:25:19 +0300 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-03-27 00:37:49 +0300 |
| commit | b2eb85b49a576515fb845cb12568b173c2bedffc (patch) | |
| tree | 4b0239d53ce17b7476428f87de5084b59cf12b19 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 9145b505bbbd87c6c8d4854ec411daeb33ed3deb (diff) | |
| download | linux-b2eb85b49a576515fb845cb12568b173c2bedffc.tar.xz | |
rcu: Move common code out of if-else block
As the result of recent addition of "rdp->core_needs_qs = false;" in
the "if" block, now both branches of the if-else have the same
assignment.
Factor it out and reduce line count.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Acked-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
