Commit 2d52c5dd authored by Colin Ian King's avatar Colin Ian King Committed by Takashi Iwai

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: default avatarColin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210709152938.460763-1-colin.king@canonical.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2e283256
...@@ -2270,7 +2270,7 @@ static int dspio_send_scp_message(struct hda_codec *codec, ...@@ -2270,7 +2270,7 @@ static int dspio_send_scp_message(struct hda_codec *codec,
unsigned int *bytes_returned) unsigned int *bytes_returned)
{ {
struct ca0132_spec *spec = codec->spec; struct ca0132_spec *spec = codec->spec;
int status = -1; int status;
unsigned int scp_send_size = 0; unsigned int scp_send_size = 0;
unsigned int total_size; unsigned int total_size;
bool waiting_for_resp = false; bool waiting_for_resp = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment