diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-04-16 21:11:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-19 15:03:29 +0200 |
commit | 59ce3233a538fc21c5c59ff38cafd784cbcd6de0 (patch) | |
tree | ff076df8bea3f6d3b829e6dd9054ca814fb386e5 /sound/soc | |
parent | ASoC: mt6359: Drop ASoC mt6359 ASoC accdet jack document (diff) | |
download | linux-59ce3233a538fc21c5c59ff38cafd784cbcd6de0.tar.xz linux-59ce3233a538fc21c5c59ff38cafd784cbcd6de0.zip |
ASoC: soc-acpi: remove useless initialization
cppcheck warning:
value that is never used. [unreadVariable]
acpi_status status = AE_OK;
^
sound/soc/soc-acpi.c:37:21: style: Variable 'status' is assigned a
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210416191144.27006-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-acpi.c b/sound/soc/soc-acpi.c index 444ce0602f76..395229bf5c51 100644 --- a/sound/soc/soc-acpi.c +++ b/sound/soc/soc-acpi.c @@ -34,7 +34,7 @@ static acpi_status snd_soc_acpi_find_package(acpi_handle handle, u32 level, void *context, void **ret) { struct acpi_device *adev; - acpi_status status = AE_OK; + acpi_status status; struct snd_soc_acpi_package_context *pkg_ctx = context; pkg_ctx->data_valid = false; |