usb: chipidea: udc: remove redundant assignment to variable retval
authorColin Ian King <colin.king@canonical.com>
Thu, 4 Jul 2019 15:03:41 +0000 (16:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 09:10:55 +0000 (11:10 +0200)
commited7fe551575cd6dbbe31282a0869682aeea2627c
tree832d41797dc15e337263e7f019be5b25ea285e91
parent6269e4c76eacabaea0d0099200ae1a455768d208
usb: chipidea: udc: remove redundant assignment to variable retval

The variable retval is being initialized with a value that is never
read and it is being updated later with a new value. The
initialization is redundant and can be removed.  Also remove a blank
line.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20190704150341.759-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/udc.c