From 6c5deb9b50cc57bbc3874b9eb2da53c89c015273 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 9 Sep 2013 00:51:36 +0200 Subject: [PATCH] pci: fix compiler warning about unused variables --- sys/src/9/pc/pci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/src/9/pc/pci.c b/sys/src/9/pc/pci.c index e19608269..ac9e6e91e 100644 --- a/sys/src/9/pc/pci.c +++ b/sys/src/9/pc/pci.c @@ -1454,9 +1454,8 @@ enumcaps(Pcidev *p, int (*fmatch)(Pcidev*, int, int, int), int arg) } static int -matchcap(Pcidev *p, int cap, int off, int arg) +matchcap(Pcidev *, int cap, int, int arg) { - USED(off); return cap != arg; }