diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-07-09 16:29:38 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-12 13:12:47 +0200 |
commit | 2d52c5dd8e80b50501af51d3c03e4e649d31adbe (patch) | |
tree | e6168b51843fc627e0db0b602835479d042572ac /sound/pci/hda/patch_ca0132.c | |
parent | 2e2832562c877e6530b8480982d99a4ff90c6777 (diff) |
ALSA: hda/ca0132: remove redundant initialization of variable status
The variable status is being initialized with a value that is never
read, the assignment is redundant and can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210709152938.460763-1-colin.king@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_ca0132.c')
-rw-r--r-- | sound/pci/hda/patch_ca0132.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index b66e7bdbf483..50ca72ee586e 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -2270,7 +2270,7 @@ static int dspio_send_scp_message(struct hda_codec *codec, unsigned int *bytes_returned) { struct ca0132_spec *spec = codec->spec; - int status = -1; + int status; unsigned int scp_send_size = 0; unsigned int total_size; bool waiting_for_resp = false; |