summaryrefslogtreecommitdiffstats
path: root/sys/pci/intpm.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-01-16 17:01:42 +0000
committerjhb <jhb@FreeBSD.org>2007-01-16 17:01:42 +0000
commit067aec5afddd21ace5e0a6e9e54d840b30e14225 (patch)
tree42fbde54f209720df2970d5370e856a3cfef8313 /sys/pci/intpm.c
parent66ac91ed3b72b4195a44516c9cefc590a4d199a9 (diff)
downloadFreeBSD-src-067aec5afddd21ace5e0a6e9e54d840b30e14225.zip
FreeBSD-src-067aec5afddd21ace5e0a6e9e54d840b30e14225.tar.gz
Remove duplicate variable initialization.
CID: 1706 Found by: Coverity Prevent (tm)
Diffstat (limited to 'sys/pci/intpm.c')
-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