Skip to content

Commit

Permalink
Staging: usbip: Fix braces and spaces to match coding style.
Browse files Browse the repository at this point in the history
Fix brace positioning and spaces at the start of lines in order to
comply with the kernel coding style.

Signed-off-by: Akshay Joshi <me@akshayjoshi.com>
Acked-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Akshay Joshi authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent 553a1a5 commit 97c451c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/usbip/stub_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,4 +548,4 @@ struct usb_driver stub_driver = {
.id_table = stub_table,
.pre_reset = stub_pre_reset,
.post_reset = stub_post_reset,
};
};
3 changes: 1 addition & 2 deletions drivers/staging/usbip/stub_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ static int tweak_reset_device_cmd(struct urb *urb)
* longer unbinds. This allows the use of synchronous reset.
*/

if (usb_lock_device_for_reset(sdev->udev, sdev->interface)<0)
{
if (usb_lock_device_for_reset(sdev->udev, sdev->interface) < 0) {
dev_err(&urb->dev->dev, "could not obtain lock to reset device\n");
return 0;
}
Expand Down

0 comments on commit 97c451c

Please sign in to comment.