aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon-usb
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2013-06-13 01:00:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-17 14:50:47 -0700
commitc7609eac88d26856c6e9299902da2475597f6867 (patch)
tree742a7fc515741c2a301219bfa031757ee297efd7 /drivers/staging/octeon-usb
parent771378bb05c16d5aa9d7913b4947068795852055 (diff)
staging: octeon-usb: octeon-hcd: add missing braces
One else branch was missing braces. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon-usb')
-rw-r--r--drivers/staging/octeon-usb/octeon-hcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index 05c86ff8563e..f4e2ca5e8720 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -284,9 +284,9 @@ static int octeon_usb_urb_enqueue(struct usb_hcd *hcd,
return -ENOMEM;
}
ep->hcpriv = (void *)(0x10000L + pipe_handle);
- }
- else
+ } else {
pipe_handle = 0xffff & (long)ep->hcpriv;
+ }
switch (usb_pipetype(urb->pipe)) {
case PIPE_ISOCHRONOUS:

Privacy Policy