diff options
| author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2024-10-08 11:32:20 +0200 |
|---|---|---|
| committer | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2024-10-21 16:00:51 +0200 |
| commit | 34771841a6a1e0bad73d955e9b26e60ae32545bb (patch) | |
| tree | 188ac0e79bf016154e8e346ad4366ad2431a0d9c /net/lapb/lapb_in.c | |
| parent | 4b3347215f2600deb7d69c5d943c938b8d7daa58 (diff) | |
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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
