changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: usbehci: silence "param declared but not used" compiler warning in itdinit()/sitdinit()

changeset 7382: 3c09fcb69346
parent 7381: 5a1c2da0c115
child 7383: 22d364b65600
author: cinap_lenrek@felloff.net
date: Mon, 09 Sep 2019 16:58:45 +0200
files: sys/src/9/port/usbehci.c
description: usbehci: silence "param declared but not used" compiler warning in itdinit()/sitdinit()
     1.1--- a/sys/src/9/port/usbehci.c
     1.2+++ b/sys/src/9/port/usbehci.c
     1.3@@ -1244,7 +1244,7 @@ isocanwrite(void *a)
     1.4 }
     1.5 
     1.6 static void
     1.7-itdinit(Ctlr *ctlr, Isoio *iso, Itd *td)
     1.8+itdinit(Ctlr*, Isoio *iso, Itd *td)
     1.9 {
    1.10 	int p, t;
    1.11 	ulong pg, pa, tsize, size;
    1.12@@ -1287,7 +1287,7 @@ itdinit(Ctlr *ctlr, Isoio *iso, Itd *td)
    1.13 }
    1.14 
    1.15 static void
    1.16-sitdinit(Ctlr *ctlr, Isoio *iso, Sitd *td)
    1.17+sitdinit(Ctlr*, Isoio *iso, Sitd *td)
    1.18 {
    1.19 	dmaflush(1, td->data, td->mdata);
    1.20 	td->ndata = td->mdata & Stdlenmask;