projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
155699c
)
ALSA: asihpi: Remove unused variable
author
Zhu Jun
<zhujun2@cmss.chinamobile.com>
Tue, 26 Nov 2024 09:32:45 +0000
(
01:32
-0800)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 26 Nov 2024 14:24:19 +0000
(15:24 +0100)
the variable is never referenced in the code, just remove it.
Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Link:
https://patch.msgid.link/20241126093245.3228-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c
patch
|
blob
|
history
diff --git
a/sound/pci/asihpi/asihpi.c
b/sound/pci/asihpi/asihpi.c
index
fdd4fe1
..
5a84591
100644
(file)
--- a/
sound/pci/asihpi/asihpi.c
+++ b/
sound/pci/asihpi/asihpi.c
@@
-464,7
+464,7
@@
static int snd_card_asihpi_pcm_hw_params(struct snd_pcm_substream *substream,
return -ENOMEM;
}
-
err =
hpi_stream_get_info_ex(dpcm->h_stream, NULL,
+ hpi_stream_get_info_ex(dpcm->h_stream, NULL,
&dpcm->hpi_buffer_attached, NULL, NULL, NULL);
}
bytes_per_sec = params_rate(params) * params_channels(params);