staging: octeon-usb: Remove return variable

Remove return variable result and return the value directly.
Issue found using Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Nishka Dasgupta 2019-05-29 18:38:35 +05:30 committed by Greg Kroah-Hartman
parent 1f816787b6
commit 8fe0260030
1 changed files with 1 additions and 2 deletions

View File

@ -521,8 +521,7 @@ static void octeon_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb)
*/
static inline u32 cvmx_usb_read_csr32(struct octeon_hcd *usb, u64 address)
{
u32 result = cvmx_read64_uint32(address ^ 4);
return result;
return cvmx_read64_uint32(address ^ 4);
}
/**