]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: caiaq: Fix unused variable warning
authorTakashi Iwai <tiwai@suse.de>
Fri, 9 Aug 2024 07:42:51 +0000 (09:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Aug 2024 07:43:56 +0000 (09:43 +0200)
commitaf1d53b6e0ebef5ea57887e23619b2bb33a6f4de
tree260f87b1dc54ce819958080859deaebb0ccb7281
parent528baf4f62dd57dee1a1076390b0921ad32b88a8
ALSA: caiaq: Fix unused variable warning

The recent cleanup of caiaq driver forgot to remove the unused loop
variable:
sound/usb/caiaq/audio.c: In function 'snd_usb_caiaq_pcm_prepare':
sound/usb/caiaq/audio.c:179:41: error: unused variable 'i' [-Werror=unused-variable]

Fixes: e95b9f7f2ee0 ("ALSA: snd-usb-caiaq: use snd_pcm_rate_to_rate_bit")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/20240809112252.5af8025f@canb.auug.org.au
Link: https://patch.msgid.link/20240809074254.5290-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/audio.c