Module Name: src
Committed By: riastradh
Date: Mon May 20 11:35:37 UTC 2024
Modified Files:
src/sys/dev/usb: xhci.c
Log Message:
xhci.c: Fix confusing line break.
No functionanl change intended.
To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/sys/dev/usb/xhci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/xhci.c
diff -u src/sys/dev/usb/xhci.c:1.181 src/sys/dev/usb/xhci.c:1.182
--- src/sys/dev/usb/xhci.c:1.181 Fri Apr 5 18:57:10 2024
+++ src/sys/dev/usb/xhci.c Mon May 20 11:35:36 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci.c,v 1.181 2024/04/05 18:57:10 riastradh Exp $ */
+/* $NetBSD: xhci.c,v 1.182 2024/05/20 11:35:36 riastradh Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.181 2024/04/05 18:57:10 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.182 2024/05/20 11:35:36 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -2496,8 +2496,7 @@ xhci_event_transfer(struct xhci_softc *
xfer->ux_frlengths[xx->xx_isoc_done] -=
XHCI_TRB_2_REM_GET(trb_2);
xfer->ux_actlen += xfer->ux_frlengths[xx->xx_isoc_done];
- } else
- if ((trb_3 & XHCI_TRB_3_ED_BIT) == 0) {
+ } else if ((trb_3 & XHCI_TRB_3_ED_BIT) == 0) {
if (xfer->ux_actlen == 0)
xfer->ux_actlen = xfer->ux_length -
XHCI_TRB_2_REM_GET(trb_2);