Remove duplicate variable initialization.
CID: 1706 Found by: Coverity Prevent (tm)
This commit is contained in:
parent
6a550ab34b
commit
7029dabe05
@ -110,7 +110,6 @@ intsmb_attach(device_t dev)
|
|||||||
int error, rid, value;
|
int error, rid, value;
|
||||||
char *str;
|
char *str;
|
||||||
|
|
||||||
sc = device_get_softc(dev);
|
|
||||||
mtx_init(&sc->lock, device_get_nameunit(dev), "intsmb", MTX_DEF);
|
mtx_init(&sc->lock, device_get_nameunit(dev), "intsmb", MTX_DEF);
|
||||||
|
|
||||||
rid = PCI_BASE_ADDR_SMB;
|
rid = PCI_BASE_ADDR_SMB;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user