Remove XXX comment. The sync is done one the last sitd after the loop.

This commit is contained in:
skrll 2020-03-05 08:12:30 +00:00
parent 57c472be02
commit 0eb13efa06

View File

@ -1,4 +1,4 @@
/* $NetBSD: ohci.c,v 1.296 2020/02/21 12:41:29 skrll Exp $ */
/* $NetBSD: ohci.c,v 1.297 2020/03/05 08:12: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.296 2020/02/21 12:41:29 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.297 2020/03/05 08:12:30 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@ -3512,7 +3512,6 @@ ohci_device_isoc_enter(struct usbd_xfer *xfer)
ncur = 0;
}
sitd->itd.itd_offset[ncur] = HTOO16(OHCI_ITD_MK_OFFS(offs));
/* XXX Sync */
offs = noffs;
}
KASSERT(j <= ox->ox_nsitd);