]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: usb: qcom: Drop unused variables
authorTakashi Iwai <tiwai@suse.de>
Thu, 4 Jun 2026 15:19:17 +0000 (17:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Jun 2026 15:26:04 +0000 (17:26 +0200)
Forgot to clean up the unused variables after the code refactoring,
which leads to compile warnings.

Reported-by: Mark Brown <broonie@kernel.org>
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 <tiwai@suse.de>
sound/usb/qcom/qc_audio_offload.c

index 32982318fbedac9536c9dcf86b9942722196c0c5..b2b719238b0b6bf753c0238189b1f781beb5f5ae 100644 (file)
@@ -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);