staging: most: usb: return 0 instead of variable
authorChristian Gromm <christian.gromm@microchip.com>
Wed, 27 May 2020 09:06:21 +0000 (11:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 10:24:46 +0000 (12:24 +0200)
commit2c069b61a843dc9c3d2296b54c4baa9730286530
treeaa7bdd73eca08f2eff541c295a019c8d183aac4e
parentffd069ec04238119f5d4884406b403c599b6eeec
staging: most: usb: return 0 instead of variable

This patch returns 0 instead of variable in case of invalid parameter
has been passed to function to increase readability.

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