Skip to content
Unverified Commit 181d58cf authored by Dan Carpenter's avatar Dan Carpenter Committed by Mark Brown
Browse files

ASoC: cs35l41: Delete unnecessary condition in cs35l41_pcm_hw_params()



This code returns -EINVAL if "i" is out of bounds a few lines earlier.
Delete this unnecessary check and pull the code in a tab.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/1ee32bfb-6f6c-4b61-887b-6f655abbfc47@moroto.mountain


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ab371a02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment