diff mbox series

[5/5] ASoC: topology: Remove redundant log

Message ID 20230519195611.4068853-6-amadeuszx.slawinski@linux.intel.com (mailing list archive)
State Accepted
Commit f9d1fe7e81b87378e7bb4a0be9c6fb29bbaa73c0
Headers show
Series ASoC: topology: Clean up error messages handling | expand

Commit Message

Amadeusz Sławiński May 19, 2023, 7:56 p.m. UTC
soc_tplg_valid_header() logs all the failures in detail already.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
---
 sound/soc/soc-topology.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index 9bb4c6d2a2c9..20fd46a41cbb 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -2486,11 +2486,8 @@  static int soc_tplg_process_headers(struct soc_tplg *tplg)
 
 			/* make sure header is valid before loading */
 			ret = soc_tplg_valid_header(tplg, hdr);
-			if (ret < 0) {
-				dev_err(tplg->dev,
-					"ASoC: topology: invalid header: %d\n", ret);
+			if (ret < 0)
 				return ret;
-			}
 
 			/* load the header object */
 			ret = soc_tplg_load_header(tplg, hdr);