diff options
author | 2024-10-08 11:32:20 +0200 | |
---|---|---|
committer | 2024-10-21 16:00:51 +0200 | |
commit | 34771841a6a1e0bad73d955e9b26e60ae32545bb (patch) | |
tree | 188ac0e79bf016154e8e346ad4366ad2431a0d9c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | soc: mediatek: mtk-cmdq: Move mask build and append to function (diff) | |
download | wireguard-linux-34771841a6a1e0bad73d955e9b26e60ae32545bb.tar.xz wireguard-linux-34771841a6a1e0bad73d955e9b26e60ae32545bb.zip |
soc: mediatek: mtk-cmdq: Move cmdq_instruction init to declaration
Move, where possible, the initialization of struct cmdq_instruction
variables to their declaration to compress the code.
While at it, also change an instance of open-coded mask to use the
GENMASK() macro instead, and instances of `ret = func(); return ret;`
to the equivalent (but shorter) `return func()`.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions