ref: 481a4c75fd157edda9c00b66ee727dc6002aa818
parent: 7de7444c6eeedc0eae05968ca51591bad22ff8a3
author: cinap_lenrek <[email protected]>
date: Mon Sep 9 12:58:45 EDT 2019
usbehci: silence "param declared but not used" compiler warning in itdinit()/sitdinit()
--- a/sys/src/9/port/usbehci.c
+++ b/sys/src/9/port/usbehci.c
@@ -1244,7 +1244,7 @@
}
static void
-itdinit(Ctlr *ctlr, Isoio *iso, Itd *td)
+itdinit(Ctlr*, Isoio *iso, Itd *td)
{
int p, t;
ulong pg, pa, tsize, size;
@@ -1287,7 +1287,7 @@
}
static void
-sitdinit(Ctlr *ctlr, Isoio *iso, Sitd *td)
+sitdinit(Ctlr*, Isoio *iso, Sitd *td)
{
dmaflush(1, td->data, td->mdata);
td->ndata = td->mdata & Stdlenmask;