Commit c7609eac authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: octeon-usb: octeon-hcd: add missing braces

One else branch was missing braces.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 771378bb
...@@ -284,9 +284,9 @@ static int octeon_usb_urb_enqueue(struct usb_hcd *hcd, ...@@ -284,9 +284,9 @@ static int octeon_usb_urb_enqueue(struct usb_hcd *hcd,
return -ENOMEM; return -ENOMEM;
} }
ep->hcpriv = (void *)(0x10000L + pipe_handle); ep->hcpriv = (void *)(0x10000L + pipe_handle);
} } else {
else
pipe_handle = 0xffff & (long)ep->hcpriv; pipe_handle = 0xffff & (long)ep->hcpriv;
}
switch (usb_pipetype(urb->pipe)) { switch (usb_pipetype(urb->pipe)) {
case PIPE_ISOCHRONOUS: case PIPE_ISOCHRONOUS:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment