mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
Correct two comments.
This commit is contained in:
parent
96a62209fb
commit
5122043efe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255242
@ -697,7 +697,7 @@ ugen20_detach_kernel_driver(struct libusb20_device *pdev,
|
||||
if (ioctl(pdev->file_ctrl, IOUSB(USB_IFACE_DRIVER_DETACH), &temp)) {
|
||||
return (LIBUSB20_ERROR_OTHER);
|
||||
}
|
||||
return (0); /* kernel driver is active */
|
||||
return (0); /* kernel driver is detached */
|
||||
}
|
||||
|
||||
static int
|
||||
@ -724,7 +724,7 @@ ugen20_do_request_sync(struct libusb20_device *pdev,
|
||||
/* get actual length */
|
||||
*pactlen = req.ucr_actlen;
|
||||
}
|
||||
return (0); /* kernel driver is active */
|
||||
return (0); /* request was successful */
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user