usb: musb: compress return logic into one line
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Wed, 21 Jun 2017 14:22:15 +0000 (09:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jun 2017 15:55:06 +0000 (17:55 +0200)
commitc68bb0ef177bbcaba505ed492101095c613dafa6
treeaa863ec0af365f22820c7be7191031374e9cf804
parent17129d4702fa1969e2e20357e92cae0277819b47
usb: musb: compress return logic into one line

Simplify return logic to avoid unnecessary variable assignment.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_host.c