From 067aec5afddd21ace5e0a6e9e54d840b30e14225 Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 16 Jan 2007 17:01:42 +0000 Subject: Remove duplicate variable initialization. CID: 1706 Found by: Coverity Prevent (tm) --- sys/pci/intpm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/pci/intpm.c') 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; -- cgit v1.1