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:
parent
1f816787b6
commit
8fe0260030
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue