]> 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)
commita5a66ca95955b4f31900c7e6e3c10b0be89dde51
tree62f90ee76accaacbde47b1c92b6c5dc4b61e8d33
parent22339da53e449b202a863d999d2786c8319e3cab
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