]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Remove superfluous bLength checks
authorTakashi Iwai <tiwai@suse.de>
Thu, 22 Aug 2019 07:25:27 +0000 (09:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Aug 2019 08:36:00 +0000 (10:36 +0200)
commit5ccc0383f7e8055d617027af24675f3290cda519
tree62f90ee76accaacbde47b1c92b6c5dc4b61e8d33
parent9968d864f4cd6eb3616c63d8e26a68b6575ff10f
ALSA: usb-audio: Remove superfluous bLength checks

Now that we got the more comprehensive validation code for USB-audio
descriptors, the check of overflow in each descriptor unit parser
became superfluous.  Drop some of the obvious cases.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c
sound/usb/mixer.c