summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pci/intpm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c
index d13ef07..dee1a71 100644
--- a/sys/pci/intpm.c
+++ b/sys/pci/intpm.c
@@ -110,7 +110,6 @@ intsmb_attach(device_t dev)
int error, rid, value;
char *str;
- sc = device_get_softc(dev);
mtx_init(&sc->lock, device_get_nameunit(dev), "intsmb", MTX_DEF);
rid = PCI_BASE_ADDR_SMB;
OpenPOWER on IntegriCloud