From: Takashi Iwai Date: Thu, 4 Jun 2026 15:19:17 +0000 (+0200) Subject: ALSA: usb: qcom: Drop unused variables X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5061b090db75c9fb98c8024779f771d92e5cf3a8;p=thirdparty%2Flinux.git ALSA: usb: qcom: Drop unused variables Forgot to clean up the unused variables after the code refactoring, which leads to compile warnings. Reported-by: Mark Brown Closes: https://lore.kernel.org/aiGUoChmVKE-xwvC@sirena.org.uk Fixes: f1f16e1809c8 ("ALSA: usb-audio: qcom: Use PAGE_ALIGN macro for buffer size calculation") Link: https://patch.msgid.link/20260604151927.1227105-1-tiwai@suse.de Signed-off-by: Takashi Iwai --- diff --git a/sound/usb/qcom/qc_audio_offload.c b/sound/usb/qcom/qc_audio_offload.c index 32982318fbed..b2b719238b0b 100644 --- a/sound/usb/qcom/qc_audio_offload.c +++ b/sound/usb/qcom/qc_audio_offload.c @@ -1042,8 +1042,6 @@ static int uaudio_transfer_buffer_setup(struct snd_usb_substream *subs, u32 len = xfer_buf_len; bool dma_coherent; dma_addr_t xfer_buf_dma_sysdev; - u32 remainder; - u32 mult; int ret; dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev);