diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2019-04-03 09:47:55 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-04 07:51:16 +0200 |
commit | adcc9f2b064e60f569979fb1de1f158e8bed8a6d (patch) | |
tree | 1566185c81ad338e2429a57c67831a3790338fe4 /sound/soc/codecs | |
parent | ASoC: Mediatek: MT8183: Fix platform_no_drv_owner.cocci warnings (diff) | |
download | linux-adcc9f2b064e60f569979fb1de1f158e8bed8a6d.tar.xz linux-adcc9f2b064e60f569979fb1de1f158e8bed8a6d.zip |
ASoC: sprd: Fix the smatch warning
Remove the unnecessary validation of the 'cstream' variable to fix
below smatch warning:
sprd_platform_compr_drain_notify() warn: variable dereferenced
before check 'cstream' (see line 105)
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions