Fixes scripts/checkpatch.pl warning:
WARNING: Possible unnecessary 'out of memory' message
Remove it can help us save a bit of memory.
Signed-off-by: Zhen Lei <redacted>
---
sound/soc/fsl/imx-audmix.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -209,10 +209,8 @@ static int imx_audmix_probe(struct platform_device *pdev)/* for CPU/Codec/Platform x 2 */dlc=devm_kcalloc(&pdev->dev,6,sizeof(*dlc),GFP_KERNEL);-if(!dlc){-dev_err(&pdev->dev,"failed to allocate dai_link\n");+if(!dlc)return-ENOMEM;-}ret=of_parse_phandle_with_args(audmix_np,"dais",NULL,i,&args);
From: Mark Brown <broonie@kernel.org> Date: 2021-06-23 16:11:52
On Thu, 17 Jun 2021 18:31:41 +0800, Zhen Lei wrote:
Fixes scripts/checkpatch.pl warning:
WARNING: Possible unnecessary 'out of memory' message
Remove it can help us save a bit of memory.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: fsl: remove unnecessary oom message
commit: 723ca2f89412abe47b7cbb276f683ddb292c172c
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark