Browse Source

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>
Aaro Koskinen 12 years ago
parent
commit
c7609eac88
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/octeon-usb/octeon-hcd.c

+ 2 - 2
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: