Commit a166f803 authored by Zhu Jun's avatar Zhu Jun Committed by Takashi Iwai
Browse files

ALSA: asihpi: Remove unused variable



the variable is never referenced in the code, just remove it.

Signed-off-by: default avatarZhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20241126093245.3228-1-zhujun2@cmss.chinamobile.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 155699cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);