summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorYihao Han <hanyihao@vivo.com>2022-04-08 16:06:09 +0300
committerStephen Boyd <sboyd@kernel.org>2022-10-04 00:13:29 +0300
commitae039f0fc0432922e95888cb470e5d9e1d8f6934 (patch)
tree0e6c4f5707ecf33ec59b8c6c4dcbfb90d83d2a2d /tools/perf/util/scripting-engines/trace-event-python.c
parent7942ac9fe9c30804fc9403a6e1fae4b8ad50181d (diff)
downloadlinux-ae039f0fc0432922e95888cb470e5d9e1d8f6934.tar.xz
clk: clk-xgene: simplify if-if to if-else
Replace `if (!pclk->param.csr_reg)` with `else` for simplification and add curly brackets according to the kernel coding style: "Do not unnecessarily use braces where a single statement will do." ... "This does not apply if only one branch of a conditional statement is a single statement; in the latter case use braces in both branches" Please refer to: https://www.kernel.org/doc/html/v5.17-rc8/process/coding-style.html Signed-off-by: Yihao Han <hanyihao@vivo.com> Link: https://lore.kernel.org/r/20220408130617.14963-1-hanyihao@vivo.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions