Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Tweak a couple of comments
details: https://anonhg.NetBSD.org/src/rev/6bc6dd6b9cdb
branches: nick-nhusb
changeset: 804708:6bc6dd6b9cdb
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Dec 17 10:08:30 2016 +0000
description:
Tweak a couple of comments
diffstat:
sys/dev/usb/ohci.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r d26fd90a0022 -r 6bc6dd6b9cdb sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c Wed Dec 14 22:14:28 2016 +0000
+++ b/sys/dev/usb/ohci.c Sat Dec 17 10:08:30 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.254.2.79 2016/12/05 10:55:18 skrll Exp $ */
+/* $NetBSD: ohci.c,v 1.254.2.80 2016/12/17 10:08:30 skrll Exp $ */
/*
* Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.79 2016/12/05 10:55:18 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.80 2016/12/17 10:08:30 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -2229,7 +2229,7 @@
}
/*
- * Cancel or timeour a device request. We have two cases to deal with
+ * Cancel or timeout a device request. We have two cases to deal with
*
* 1) A driver wants to stop scheduled or inflight transfers
* 2) A transfer has timed out
@@ -2298,8 +2298,6 @@
* Step 1: When cancelling a transfer make sure the timeout handler
* didn't run or ran to the end and saw the USBD_CANCELLED status.
* Otherwise we must have got here via a timeout.
- *
- * If we timed out then
*/
if (status == USBD_CANCELLED) {
xfer->ux_status = status;
Home |
Main Index |
Thread Index |
Old Index