Remove KASSERT(0) and default switch case. No other sc_ncm_format
authorclaudio <claudio@openbsd.org>
Tue, 11 Jan 2022 10:34:13 +0000 (10:34 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 11 Jan 2022 10:34:13 +0000 (10:34 +0000)
commita76e37e6a35a225ced76e8715a1716e308348720
treee136c3f258f7efb09c30f6cff4b426d2b0056fc2
parent33d995052b0dbd0cdcb38f0601364396df830ef9
Remove KASSERT(0) and default switch case. No other sc_ncm_format
switch has a default case and umb_ncm_setup_format() ensures that
only 16 and 32bit formats are accepted. Fixes build error without
DIAGNOSTIC set.
Found by and OK robert@
sys/dev/usb/if_umb.c