summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2025-01-08 06:05:52 +0300
committerMark Brown <broonie@kernel.org>2025-01-08 15:36:56 +0300
commit9c3d68ce5dee76f30b23ca29b2be4774e291f7f1 (patch)
tree48967b4775c07466c148ac7c3b57769a66bc58cb /scripts/gdb/linux/utils.py
parent309caeef4381e8777f65030dccabc71456650269 (diff)
downloadlinux-9c3d68ce5dee76f30b23ca29b2be4774e291f7f1.tar.xz
ASoC: soc-card: remove card check
only snd_soc_card_set_bias_level() and snd_soc_card_set_bias_level_post() are checking "card" in the function, like below int snd_soc_card_set_bias_level(...) { ... => if (card && card->xxx) ret = card->xxxx(...); ... } But it should already have been an error if "card" was NULL. remove "card" NULL check here. Otherwise it will get waring on smatch without this patch. This is prepare for error check cleanup. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87msg2knsg.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions