summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaluca Oncioiu <raluca.oncioiu91@gmail.com>2014-03-08 00:44:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-07 16:10:54 -0800
commitb49f11335d82bd7bca488644cfc846df935abd54 (patch)
tree5803b147bbb1c4faa7a5b9c11fdbe4806d65d881
parent1da69aa92b165bb06b6cd26d11d044c66bfa1c30 (diff)
downloadtalos-obmc-linux-b49f11335d82bd7bca488644cfc846df935abd54.tar.gz
talos-obmc-linux-b49f11335d82bd7bca488644cfc846df935abd54.zip
Staging: octeon-usb: Remove unnecessary brackets
Remove brackets from single line branches of if statements. Break long lines. Signed-off-by: Raluca Oncioiu <raluca.oncioiu91@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/octeon-usb/octeon-hcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index ee38e08c07d0..55380b349f95 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -925,12 +925,12 @@ static int cvmx_usb_enable(struct cvmx_usb_state *usb)
return 0;
/* If there is nothing plugged into the port then fail immediately */
- if (!usb->usbcx_hprt.s.prtconnsts) {
+ if (!usb->usbcx_hprt.s.prtconnsts)
return -ETIMEDOUT;
- }
/* Program the port reset bit to start the reset process */
- USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), union cvmx_usbcx_hprt, prtrst, 1);
+ USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), union cvmx_usbcx_hprt,
+ prtrst, 1);
/*
* Wait at least 50ms (high speed), or 10ms (full speed) for the reset
OpenPOWER on IntegriCloud