Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/x86/pci
On Thu, 25 Jan 2018, Patrick Welche wrote:
Module Name: src
Committed By: prlw1
Date: Thu Jan 25 15:01:05 UTC 2018
Modified Files:
src/sys/arch/x86/pci: amdzentemp.c
Log Message:
Unused variable build fix. (now void *aux is unused)
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/pci/amdzentemp.c
@@ -98,8 +98,6 @@ CFATTACH_DECL_NEW(amdzentemp, sizeof(str
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);
Please leave the blank line for KNF reasons!
+------------------+--------------------------+----------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+
Home |
Main Index |
Thread Index |
Old Index