Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/pci Unused variable build fix. (now void *aux i...



details:   https://anonhg.NetBSD.org/src/rev/6b67e5b75662
branches:  trunk
changeset: 359009:6b67e5b75662
user:      prlw1 <prlw1%NetBSD.org@localhost>
date:      Thu Jan 25 15:01:05 2018 +0000

description:
Unused variable build fix. (now void *aux is unused)

diffstat:

 sys/arch/x86/pci/amdzentemp.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 7a22f242bf52 -r 6b67e5b75662 sys/arch/x86/pci/amdzentemp.c
--- a/sys/arch/x86/pci/amdzentemp.c     Thu Jan 25 14:45:58 2018 +0000
+++ b/sys/arch/x86/pci/amdzentemp.c     Thu Jan 25 15:01:05 2018 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: amdzentemp.c,v 1.1 2018/01/25 01:22:21 christos Exp $ */
+/*      $NetBSD: amdzentemp.c,v 1.2 2018/01/25 15:01:05 prlw1 Exp $ */
 /*      $OpenBSD: kate.c,v 1.2 2008/03/27 04:52:03 cnst Exp $   */
 
 /*
@@ -50,7 +50,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdzentemp.c,v 1.1 2018/01/25 01:22:21 christos Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdzentemp.c,v 1.2 2018/01/25 15:01:05 prlw1 Exp $ ");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -98,8 +98,6 @@
 static int
 amdzentemp_match(device_t parent, cfdata_t match, void *aux)
 {
-       struct pci_attach_args *pa = aux;
-
        KASSERT(PCI_VENDOR(pa->pa_id) == PCI_VENDOR_AMD);
      
        cfdata_t parent_cfdata = device_cfdata(parent);



Home | Main Index | Thread Index | Old Index