]> www.infradead.org Git - linux.git/commit
soundwire: intel: simplify return path in hw_params
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 3 Jul 2024 10:15:56 +0000 (12:15 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 9 Jul 2024 13:42:49 +0000 (19:12 +0530)
commitba874a8c2f895d898bbaf67f9e952425aff1557d
tree712353fe8b0a105170340fe79b2d11cb8de391ee
parent1f93cb229b0e2d78233690c9ca65715e1f798803
soundwire: intel: simplify return path in hw_params

Remove unused error path (label+goto) to make the code a bit simpler.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240703-soundwire-cleanup-h-v1-4-24fa0dbb948f@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c