Skip to content

Commit

Permalink
staging: ced1401: fix some style warnings
Browse files Browse the repository at this point in the history
this fixes:

comments to in kernel comment style
the opening brace of if statement must be beside the if not below
to it

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent ff549e4 commit 0965be3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/ced1401/usb1401.c
Original file line number Diff line number Diff line change
Expand Up @@ -1572,8 +1572,7 @@ void ced_draw_down(DEVICE_EXTENSION * pdx)

pdx->bInDrawDown = true;
time = usb_wait_anchor_empty_timeout(&pdx->submitted, 3000);
if (!time) // if we timed out we kill the urbs
{
if (!time) { // if we timed out we kill the urbs
usb_kill_anchored_urbs(&pdx->submitted);
dev_err(&pdx->interface->dev, "%s timed out", __func__);
}
Expand Down

0 comments on commit 0965be3

Please sign in to comment.