From 7029dabe052647c0b6c1396ddea236d4d53dd186 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 16 Jan 2007 17:01:42 +0000 Subject: [PATCH] Remove duplicate variable initialization. CID: 1706 Found by: Coverity Prevent (tm) --- sys/pci/intpm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c index d13ef07e7ed6..dee1a71fdaa7 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;