From 8eab8cefd8e20dd56af9969e5ade4ce3d3cd1295 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 31 May 2003 20:04:19 +0000 Subject: [PATCH] Remove unused variable. Found by: FlexeLint --- sys/pci/alpm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/pci/alpm.c b/sys/pci/alpm.c index 44e0c74d703..c58a519d905 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);