diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 20:04:19 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 20:04:19 +0000 |
commit | 37e91b880ac8b9e91add1ad4bf3510fa9bdd7366 (patch) | |
tree | bee352c9c47c3786cc9455aed31194735196b52f /sys/pci/alpm.c | |
parent | 30d674a987396ff78de47b752f2f2f64244bb272 (diff) | |
download | FreeBSD-src-37e91b880ac8b9e91add1ad4bf3510fa9bdd7366.zip FreeBSD-src-37e91b880ac8b9e91add1ad4bf3510fa9bdd7366.tar.gz |
Remove unused variable.
Found by: FlexeLint
Diffstat (limited to 'sys/pci/alpm.c')
-rw-r--r-- | sys/pci/alpm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/pci/alpm.c b/sys/pci/alpm.c index 44e0c74..c58a519 100644 --- a/sys/pci/alpm.c +++ b/sys/pci/alpm.c @@ -174,12 +174,11 @@ alpm_probe(device_t dev) static int alpm_attach(device_t dev) { - int rid, unit; + int rid; u_int32_t l; struct alpm_softc *alpm; alpm = device_get_softc(dev); - unit = device_get_unit(dev); /* Unlock SMBIO base register access */ l = pci_read_config(dev, ATPC, 1); |