summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42l42-sdw.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-11-26 17:52:26 +0300
committerMark Brown <broonie@kernel.org>2025-11-26 17:41:27 +0000
commit9d3fcd0ebe91c2079b4aeaffc7493a0bb2ad45f2 (patch)
tree70f71aa9ce3cfb5ee9a0283cf7004b1426530941 /sound/soc/codecs/cs42l42-sdw.c
parent900baa6e7bb08ab3d24388cf945c7be063ac1b89 (diff)
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>
Diffstat (limited to 'sound/soc/codecs/cs42l42-sdw.c')
0 files changed, 0 insertions, 0 deletions