diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2022-09-06 02:17:43 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-07 14:44:30 +0300 |
commit | 427de091a7112aa8eaf2f689e95c0dbca5ea6543 (patch) | |
tree | 8df130985230c3a8b086e2964c6e22fa555fca62 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d2a411f810a0db055f02cc18e5cfa833bb2c9ccc (diff) | |
download | linux-427de091a7112aa8eaf2f689e95c0dbca5ea6543.tar.xz |
ASoC: soc-dapm.c: don't use WARN_ON() at snd_soc_dai_link_event_pre_pmu()
Current snd_soc_dai_link_event_pre_pmu() is checking "config".
It is using dev_err() (A) if it was NULL, so we don't need to use
WARN_ON() (B) to check it, it is over-kill. This patch removes it.
(B) if (WARN_ON(!config)) {
(A) dev_err(...);
...
}
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87zgfd8l7s.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions