ASoC: mediatek: mt8195: Remove unnecessary print function dev_err()
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 24 Feb 2022 01:10:46 +0000 (09:10 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 13:33:55 +0000 (13:33 +0000)
commit7d642c9c14b6fae0c05b91a92a86fae6674a2126
tree3815aee0340324f366604e7b59b9501ee2db871c
parented7c9fef11931fc5d32a83d68017ff390bf5c280
ASoC: mediatek: mt8195: Remove unnecessary print function dev_err()

The print function dev_err() is redundant because platform_get_irq()
already prints an error.

Eliminate the follow coccicheck warning:
./sound/soc/mediatek/mt8195/mt8195-afe-pcm.c:3126:2-9: line 3126 is
redundant because platform_get_irq() already prints an error

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220224011046.76904-1-yang.lee@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8195/mt8195-afe-pcm.c