diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-11-20 22:07:40 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-11-23 09:54:37 +0300 |
commit | 5bdc61ef45007908df9d8587111c7a5a552bdd46 (patch) | |
tree | 4768210393c94f00f8ce29ca5e2a1b1ada61bfd3 /scripts/gdb/linux/tasks.py | |
parent | 5c68b66d4d7eff8cdb6f508f8537faa30c5faa6d (diff) | |
download | linux-5bdc61ef45007908df9d8587111c7a5a552bdd46.tar.xz |
soundwire: qcom: move sconfig in qcom_swrm_stream_alloc_ports() out of critical section
Setting members of local variable "sconfig" in
qcom_swrm_stream_alloc_ports() does not depend on any earlier code in
this function, so can be moved up before the critical section. This
makes the code a bit easier to follow because critical section is
smaller.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231120190740.339350-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions