From: Aaro Koskinen Date: Sun, 6 Oct 2013 19:22:37 +0000 (+0300) Subject: staging: octeon-usb: refactor __cvmx_usb_pipe_needs_split X-Git-Tag: firefly_0821_release~176^2~5057^2~438 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aa87afe20710dfa71937f945a93e2bfa26a2f1df;p=firefly-linux-kernel-4.4.55.git staging: octeon-usb: refactor __cvmx_usb_pipe_needs_split Split a long line and remove redundant parenthesis. Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index 368c7f78e8cb..1859c050b918 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c +++ b/drivers/staging/octeon-usb/octeon-hcd.c @@ -602,7 +602,8 @@ static inline void __cvmx_usb_write_csr64(struct cvmx_usb_state *usb, static inline int __cvmx_usb_pipe_needs_split(struct cvmx_usb_state *usb, struct cvmx_usb_pipe *pipe) { - return ((pipe->device_speed != CVMX_USB_SPEED_HIGH) && (usb->usbcx_hprt.s.prtspd == CVMX_USB_SPEED_HIGH)); + return pipe->device_speed != CVMX_USB_SPEED_HIGH && + usb->usbcx_hprt.s.prtspd == CVMX_USB_SPEED_HIGH; }