usb: musb: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Wed, 31 Jul 2019 22:39:17 +0000 (23:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2019 16:08:53 +0000 (18:08 +0200)
commit82e17a09c412ad981dd29c0243b73b363835899e
treeec8e0421880dfbc977f0a3ffffe4e0866ed43681
parentb33f37064b743d4c5771d3bfc65976790b7396cc
usb: musb: remove redundant assignment to variable ret

Variable ret is being initialized with a value that is never read
and ret is being re-assigned a little later on. The assignment is
redundant and hence can be removed.

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