diff options
author | Zhu Jun <zhujun2@cmss.chinamobile.com> | 2024-11-26 01:32:45 -0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-11-26 15:24:19 +0100 |
commit | a166f80343cd436d6d414199d18ad0ab291caaa5 (patch) | |
tree | a3efd6d9ec812d82a19038a453e38a6a4aa8fe72 /sound | |
parent | 155699ccab7c78cbba69798242b68bc8ac66d5d2 (diff) |
ALSA: asihpi: Remove unused variable
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/asihpi/asihpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c index fdd4fe16225f..5a84591b13fc 100644 --- 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); |