diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-02 14:51:18 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-16 12:33:41 +0300 |
commit | 8520ac0d70d6c1709bf6768cb79f3b75115def09 (patch) | |
tree | f0df836e960e63e1384e92e576edb8e286712b13 /sound/hda | |
parent | ff0c5703a4b11fca86886e5b7ce40c396bef8381 (diff) | |
download | linux-8520ac0d70d6c1709bf6768cb79f3b75115def09.tar.xz |
USB: serial: replace runtime overflow check
Since commit 0a8fd1346254 ("USB: fix problems with duplicate endpoint
addresses") USB core guarantees that there are no more than 15 endpoint
descriptors per type (and altsetting) so the corresponding overflow
checks can now be replaced with a compile-time check on the array sizes
(and indirectly the maximum number of ports).
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions