shithub: riscv

Download patch

ref: 6c5deb9b50cc57bbc3874b9eb2da53c89c015273
parent: 8aff0e5be65f795b8982bef7a1ec327ed8f114bf
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Sun Sep 8 20:51:36 EDT 2013

pci: fix compiler warning about unused variables

--- a/sys/src/9/pc/pci.c
+++ b/sys/src/9/pc/pci.c
@@ -1454,9 +1454,8 @@
 }
 
 static int
-matchcap(Pcidev *p, int cap, int off, int arg)
+matchcap(Pcidev *, int cap, int, int arg)
 {
-	USED(off);
 	return cap != arg;
 }
 
--