mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 07:36:50 +07:00
Staging: usbip: Fix braces and spaces to match coding style.
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>
This commit is contained in:
parent
553a1a5065
commit
97c451ca10
@ -548,4 +548,4 @@ struct usb_driver stub_driver = {
|
||||
.id_table = stub_table,
|
||||
.pre_reset = stub_pre_reset,
|
||||
.post_reset = stub_post_reset,
|
||||
};
|
||||
};
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user