staging: octeon-usb: octeon-hcd: add missing braces
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 12 Jun 2013 22:00:33 +0000 (01:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 21:50:47 +0000 (14:50 -0700)
One else branch was missing braces.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/octeon-hcd.c

index 05c86ff8563ec1abc5d053bd9c232d0ea1634265..f4e2ca5e87208a5aaaca943240b0de9693036632 100644 (file)
@@ -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: