staging: most: usb: init return value in default path of switch/case expression
authorChristian Gromm <christian.gromm@microchip.com>
Thu, 28 May 2020 12:41:43 +0000 (14:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 May 2020 10:35:59 +0000 (12:35 +0200)
commit11974ace2d8681ae3efe027b4020869ccee48878
tree28c78c6f775c2dd1d11f542e69037ea533baebf2
parent36cf583eaff3458abbfac144c5e4d417a23fa1a1
staging: most: usb: init return value in default path of switch/case expression

This patch avoids returning an uninitialized value in the default
path of the switch expression.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/1590669703-20004-1-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/usb/usb.c