aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorZiyang Xuan <[email protected]>2022-08-27 15:20:11 +0800
committerMarc Kleine-Budde <[email protected]>2022-09-06 08:35:07 +0200
commit170277c532780392051fee48260896ed280cfbef (patch)
treeb82ed850922ee21d2c017bb2b1ecce5d2cd51dea /tools/perf/scripts/python/mem-phys-addr.py
parentc28b3bffe49e713ce67f0e36de13b8f9f0776837 (diff)
can: raw: use guard clause to optimize nesting in raw_rcv()
We can use guard clause to optimize nesting codes like if (condition) { ... } else { return; } in raw_rcv(); Signed-off-by: Ziyang Xuan <[email protected]> Link: https://lore.kernel.org/all/0170ad1f07dbe838965df4274fce950980fa9d1f.1661584485.git.william.xuanziyang@huawei.com Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions