projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e1674c
)
staging: octeon-usb: refactor __cvmx_usb_pipe_needs_split
author
Aaro Koskinen
<
[email protected]
>
Sun, 6 Oct 2013 19:22:37 +0000
(22:22 +0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 7 Oct 2013 05:02:22 +0000
(22:02 -0700)
Split a long line and remove redundant parenthesis.
Signed-off-by: Aaro Koskinen <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/octeon-usb/octeon-hcd.c
patch
|
blob
|
history
diff --git
a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octeon-usb/octeon-hcd.c
index 368c7f78e8cb098af3f1a51722c2ba9400dc8e37..1859c050b9184c461bf8db5ea7e3104d739a6cf0 100644
(file)
--- 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;
}