summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorTakashi Sakamoto2017-02-21 23:54:47 +0100
committerTakashi Iwai2017-02-22 07:12:23 +0100
commit89b593c30e83ee19b7e7c6c7d6092669bebf343e (patch)
tree64c4160ed7b44550cbda1e173914fde3feb137e7 /block
parentALSA: x86: hdmi: select CONFIG_SND_PCM (diff)
downloadkernel-qcow2-linux-89b593c30e83ee19b7e7c6c7d6092669bebf343e.tar.gz
kernel-qcow2-linux-89b593c30e83ee19b7e7c6c7d6092669bebf343e.tar.xz
kernel-qcow2-linux-89b593c30e83ee19b7e7c6c7d6092669bebf343e.zip
ALSA: usb-audio: purge needless variable length array
Variable length array is used in 'snd_us16x08_meter_get()', while there is no need. It's better to purge it because variable length array has overhead for stack handling. This commit replaces the array with static length. Sparse generated below warning. sound/usb/mixer_us16x08.c:714:18: warning: Variable length array is used. Fixes: d2bb390a2081 ("ALSA: usb-audio: Tascam US-16x08 DSP mixer quirk") Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions