OSDN Git Service

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)
commitb8e4f1fdfa422398c2d6c47bfb7d1feb3046d70a
tree62f90ee76accaacbde47b1c92b6c5dc4b61e8d33
parent52c3e317a857091fd746e15179a637f32be4d337
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