diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2024-10-08 12:32:20 +0300 |
---|---|---|
committer | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2024-10-21 17:00:51 +0300 |
commit | 34771841a6a1e0bad73d955e9b26e60ae32545bb (patch) | |
tree | 188ac0e79bf016154e8e346ad4366ad2431a0d9c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4b3347215f2600deb7d69c5d943c938b8d7daa58 (diff) | |
download | linux-34771841a6a1e0bad73d955e9b26e60ae32545bb.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions