Remove duplicate variable initialization.

CID:		1706
Found by:	Coverity Prevent (tm)
This commit is contained in:
John Baldwin 2007-01-16 17:01:42 +00:00
parent 6a550ab34b
commit 7029dabe05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166047

View file

@ -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;