linux/sound/soc/mediatek
Dan Carpenter 9d3fcd0ebe
ASoC: mediatek: mt8189: remove unnecessary NULL check
Smatch complains that the call to snd_soc_component_get_drvdata(component)
will dereference "component" so this NULL check is too late.  The probe()
function will never be called with a NULL component pointer so just
delete the check.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aScUKqCEhSIZoOmg@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-11-26 17:41:27 +00:00
..
common ASoC: mediatek: mtk-dsp-sof-common: convert to snd_soc_dapm_xxx() 2025-11-17 00:17:48 +00:00
mt2701 ASoC: mediatek: mt2701: Convert to RUNTIME_PM_OPS() 2025-03-17 10:14:43 +00:00
mt6797 ASoC: mediatek: mt6797: Convert to RUNTIME_PM_OPS() 2025-03-17 10:14:43 +00:00
mt7986 ASoC: mediatek: mt7986: Convert to RUNTIME_PM_OPS() 2025-03-17 10:14:44 +00:00
mt8173 ASoC: mediatek: Use SND_JACK_AVOUT for HDMI/DP jacks 2025-08-10 21:09:14 +01:00
mt8183 ASoC: mediatek: mt8183: use snd_kcontrol_chip() instead of snd_soc_kcontrol_component() 2025-10-20 02:44:22 +01:00
mt8186 ASoC: mediatek: mt8186-mt6366: convert to snd_soc_dapm_xxx() 2025-11-17 00:17:50 +00:00
mt8188 ASoC: mediatek: mt8188-mt6359: convert to snd_soc_dapm_xxx() 2025-11-17 00:17:50 +00:00
mt8189 ASoC: mediatek: mt8189: remove unnecessary NULL check 2025-11-26 17:41:27 +00:00
mt8192 ASoC: mediatek: mt8192: use snd_kcontrol_chip() instead of snd_soc_kcontrol_component() 2025-10-20 02:44:25 +01:00
mt8195 ASoC: mediatek: mt8195-mt6359: convert to snd_soc_dapm_xxx() 2025-11-17 00:17:51 +00:00
mt8365 ASoC: mediatek: mt8365-afe-pcm: convert to snd_soc_dapm_xxx() 2025-11-17 00:17:52 +00:00
Kconfig ASoC: mediatek: mt8189: add machine driver with nau8825 2025-11-18 18:54:06 +00:00
Makefile ASoC: mediatek: mt8189: add platform driver 2025-11-18 18:54:04 +00:00