Skip to content
Snippets Groups Projects
Commit f4a85e00 authored by zuoqilin's avatar zuoqilin Committed by Takashi Iwai
Browse files

ALSA: arm: Remove unnecessary variables


There is no need to define the variable "ret" to receive.

Signed-off-by: default avatarzuoqilin <zuoqilin@yulong.com>
Link: https://lore.kernel.org/r/20210610024053.1217-1-zuoqilin1@163.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b5b51996
No related branches found
No related tags found
No related merge requests found
......@@ -47,9 +47,7 @@ static unsigned short pxa2xx_ac97_legacy_read(struct snd_ac97 *ac97,
static void pxa2xx_ac97_legacy_write(struct snd_ac97 *ac97,
unsigned short reg, unsigned short val)
{
int __always_unused ret;
ret = pxa2xx_ac97_write(ac97->num, reg, val);
pxa2xx_ac97_write(ac97->num, reg, val);
}
static const struct snd_ac97_bus_ops pxa2xx_ac97_ops = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment